I want to save the output of tsystem to a databse or file
is there anyway to do it in TOS ? (for now it only prints output to console)
here is the python script which tsystem is using
import pandas as pd
data = pd.read_csv('movies.csv')
Adding this to your script should do it, then you could read it back into the job afterwards if you wanted....
import pandas as pd data = pd.read_csv('movies.csv') f = open("demofile2.txt", "a") f.write(data) f.close()
.....but given what I see in the code, why would you use a python script to read the movies.csv file anyway.....or is it just an example?
tSystem Output are saved in Global Variable like OUTPUT and ERROROUTPUT( in cqse of error)>
These cqn be helpful in your case
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema