Reply
New Contributor
Posts: 1
Registered: ‎01-24-2019

Morphline AVRO record scope

[ Edited ]

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() ?

Announcements
The Kite SDK is a collection of docs, sample code, APIs, and tools to make Hadoop application development faster. Learn more at http://kitesdk.org.