Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
We have requirement where we need to load data from input file and load into Oracle table.However input file schema should not be hard coded.By using tfilelist system should pick file one by one and according to data file structure ,system should create dynamic schema for tFileInputDelimited and tOracleOutput components and load data into mapped tables.
As the no of input files is more (around 300 +) and each file may have different structure.Thus it is not possible to create schema for each file.
We are looking for an appropriate solution and for tFileInputDelimited and tOracleOutput to read data dynamically and insert into tables.
Thanks
Regards,
Vivek
if you are not on the free version you can use dynamic as row type. This type replace all columns and keep the type.
if you are not on the free version you can use dynamic as row type. This type replace all columns and keep the type.
I got following error when i used tinputfiledelimited and toracleoutput components with 'Dynamic' schema type.
My Graph design : tinputfiledelimited -> tOracleOutput
Exception in component tOracleOutput_1
java.sql.SQLException: Missing IN or OUT parameter at index:: 96
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1821)
at oracle.jdbc.driver.OraclePreparedStatement.addBatch(OraclePreparedStatement.java:10010)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.addBatch(OraclePreparedStatementWrapper.java:1358)
at artemis_dev.transt_stg_load_param_0_1.Transt_Stg_Load_Param$1tAsyncIn_tOracleOutput_1_ParallelThread.run(Transt_Stg_Load_Param.java:2801)
Oracleoutput is used to insert data into oracle table.We would like to make a graph which will read data from file and inserting into oracle table with dynamic schema.
try to insert into a new table.
Didn't work diff options....Giving background of this issue again.Can anybody please suggest how to achieve this in Talend.
Hi ,
We have requirement where we need to load data from different input files and load into Oracle tables.As input files structures are different for each files thus schema cannot be hardcoded.By using tfilelist system should pick file one by one and according to data file structure ,system should create dynamic schema for tFileInputDelimited and tOracleOutput components and load data into mapped tables.
As the no of input files is more (around 300 +) and each file will have different structure.Thus it is not possible to create schema for each file.
We are looking for an appropriate solution and for tFileInputDelimited and tOracleOutput to read data dynamically and insert into tables.
We tried tinputfiledelimited (to read file) and toracleoutput (to load data into oracle table) components with 'Dynamic' schema type.
My Graph design : tinputfiledelimited -> tOracleOutput
However we got below exception
Exception in component tOracleOutput_1
java.sql.SQLException: Missing IN or OUT parameter at index:: 96
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1821)
at oracle.jdbc.driver.OraclePreparedStatement.addBatch(OraclePreparedStatement.java:10010)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.addBatch(OraclePreparedStatementWrapper.java:1358)
at artemis_dev.transt_stg_load_param_0_1.Transt_Stg_Load_Param$1tAsyncIn_tOracleOutput_1_ParallelThread.run(Transt_Stg_Load_Param.java:2801)
Thanks
Regards,
Vivek
But we are able to insert record from Oracle side.