Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
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?
this is 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
https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/N3wMjEh4Wlse70QVdDCuaA