You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by John Smith <le...@gmail.com> on 2016/01/13 15:43:44 UTC

outputSchema method issues with input

hi,

could anyone take a look on that issue:

http://stackoverflow.com/questions/34276494/apache-pig-udf-and-outputschema-customization

Problem is that input as part of the outputSchema method is empty, but UDF
is called using schema ->

sourceData = foreach sourceData generate com.pig.Data('test.json', *)
as (t:(s:(VIN: chararray,Birthdate: chararray), n:(name:
chararray,customerId: chararray,Mileage: chararray,Fuel_Consumption:
chararray)));



thank you