I have a CSV file with different record formats that is defined by the first column value: Sample Data:
"EL","XXXXXXX", 2017-07-17
"EH","XXXXXXX",1,2017-07-17,"AAA"
"BI","XXXXXXX","AAA","BBBB"
In this case, I am getting the file with 3 defined record types. Is there a way to load this to different hive tables ?
Demo