Getting Column Names

asked 2019-06-16 20:08:07 -0500

Michael32432432 gravatar image

Hi,

I have a JSON file, which I use directory to get StreamSets to read the JSON file. Next, I used FieldFlatterner to flatten the JSON fields in it. Subsequently, I want to extract the field name and the field value to be inserted into a database.

I have no idea how can I extract the JSON field name, but I am able to extract the field value. How can I proceed to do this? I am new to StreamSets and am testing it to see if it can meet our use-case requirements.

Thanks.

edit retag flag offensive close merge delete

Comments

There are several ways to accomplish this. How are you extracting the field values? Which processors do you already have in your pipeline?

iamontheinet gravatar imageiamontheinet ( 2019-06-17 11:17:22 -0500 )edit