I am trying to parse a string which is :
"297","298","Y","","299"
using Regexp serder but i am unable to do so. The Table definition i have created is :
create external table test.test1
(a string,
b string,
c string,
d string)
row format serde 'org.apache.hadoop.hive.serde2.RegexSerDe'
with serdeproperties ("input.regex" = "\"\"|\"([^\"]+)\"")
the regex used in the serde properties looks promising in the regexp test websites but i am getting exception while trying to read the table kindly help me out in this. I know that this can be easily done using csv serde but i am trying to figure out a bigger part of the problem for which i have to use the regexp serde Thanks