Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Morphline AVRO record scope


Morphline AVRO record scope

New Contributor

I am processing an avro record via morphline 

Exact steps :
1. Sending the avro record to morphline
2. In the morphline I am extracting AVRO path,performing transformations

3. I am adding a new field to the record with the tranformed data affixed to it, converting it back to AVRO and returning it

In morphline I am able to see the tranformed avro record perfectly but in the code where I call my doProcess() ,

if I print the processed record it does not retain the new field with the transformed data. Is there a way to get the transformed avro with the additional fields from where I call the doProcess() ?

Don't have an account?
Coming from Hortonworks? Activate your account here