AFAIK you cannot use a variable as a map key. What you can do is transform
the map to a tuple of (key,value). There must be some readily available
UDFs to do that.
prodid_to_class_id = LOAD 'structured/prod_id_to_class_id_map.txt' as
(prod_to_class_map: map[]);
prodid_class_id = FOREACH prodid_to_
Hi All,I have some issue with using map data structure. Any help will be great.
Product is too fine-scale so we turn that into classes. I have a file that has
a map stored in the following format:
// Loading the raw data.raw_customer_data = LOAD 'cust_clean.tsv' AS
(cust_id:chararray, session_id: