tSetDynamicSchema with tOracleInput

One Star

tSetDynamicSchema with tOracleInput

Is it possible to use tSetDynamicSchema to set the schema for tOracleInput? I'd like to be able to use dynamic schemas, but still be able to do schema-based validation.
Moderator

Re: tSetDynamicSchema with tOracleInput

Hi,
Have you already checked component reference:TalendHelpCenter:tSetDynamicSchema?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: tSetDynamicSchema with tOracleInput

Yes, I checked that, but I had missed the note at the bottom:
To work with tSetDynamicSchema, components should have the option of Use existing dynamic, which allows you to select thetSetDynamicSchema component from the list.
So does this mean it's not possible to use tSetDynamicSchema with tOracleInput since there is no Use existing dynamic option on that component?
One Star

Re: tSetDynamicSchema with tOracleInput

Any update on this?
One Star

Re: tSetDynamicSchema with tOracleInput

tOracleinputs can use dynamic as well.  That object "tSetDynamicSchema" turns a schema definition into a dynamic.... I'd imagine it is some sort of array inside the actual java code.
At any rate.
I have used this with tOracle several times.  Simply edit the schema on your Oracle object, create 1 column and change the type to "Dynamic" from the drop down list.
If it is a tOracleInput, a "Select * from <tablename>" will correctly fill that row, and pass it to the next transformation.  If it is a tOracleOutput you simply have to ensure that the schema sent to it is "Dynamic"

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download