Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I need to load different csv files to different databases. The database to connect should be set dynamically from file path. I have below flow:
tFileList --> tFileInputDelemeted --> tJavaFlex --> tPostgresqlOutput
I am extracting the DBname and tablename from csv file path and setting to context variables in tJavaFlex and then setting the context variables in tPostgresqlOutput database name and table name properties.
But I am getting
org.postgresql.util.PSQLException: ERROR: zero-length delimited identifier at or near """"
as the value comes null or empty string for dbname or table properties, but I can see the values coming properly in tJavaFlex logs.
The reason can be the tPostgresqlOutput connection details are getting initialized even before the flow starts.
Someone please help me on this...
Thanks in advance
Sree
I am running it locally, both DBServer and file repo are same system.
I tested the same 300K records with only "insert" with parallelism and it was finished in less than 4 seconds. So can conclude that it is the "insert and update" without parallelism (As I need to create tables dynamically, which is not available with parallelism) makes it slower.
Thank you very much for the input. I will try that.