Store SQLinput in json files, one row in one file

One Star

Store SQLinput in json files, one row in one file

Hi!
I want build a job, which will read sql table and store each row in json file.
Which job structure is better for this?
Dmitry.
Seventeen Stars

Re: Store SQLinput in json files, one row in one file

tOracleInput ----> tFileOutputJSON
Or do I miss something from your use case?
Did you mean every row in its own JSON file?
In this case:
tOracleInput ----> tFlowToIterate ----> tFixedFlow (set the variables from tFlowIterate!) ----> tFileOutputJSON (use any variable from tFlowToIterate to build the file name)

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog