Hi, I wish to pass an outer bag into a Python UDF.
Something like: Calculation-data = LOAD /path/to/data AS (field;int); Actual_data = LOAD /path/to/data AS (field1:int, field2:int) Calculation_data is not a very big bag. Maybe about 500 tuples in all - a single file. Actual_data is the real data source lying on HDFS. For each tuple in Actual_data, I wish to have the entire Calculation_data (whole bag) for some calculation that I wish to do. So, with every call to a UDF, I need to pass this bag along with tuple from Actual_data. Simply, is there any way of passing an outer bag into a Python UDF? Regards, Deepak Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
