I'm looking for a HIVE UDF that will parse an array of data into a tabular form. If there's nothing in HIVE, a PIG example would be appreciated.
The input is in this format:
date timestamp key1="val1" key2="val2" key3="val3" year month day
date timestamp key1="val4" key2="val5" key3="val6" year month day
Would like the results to be a table where the column names are the keywords and the results are the values. Such as:
results:
column_name key1 key2 key3
results val1 val2 val3
val4 val5 val6