Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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.
Labels (2)
4 Replies
Anonymous
Not applicable
Author

Hi,
Have you already checked component reference:TalendHelpCenter:tSetDynamicSchema?
Best regards
Sabrina
Anonymous
Not applicable
Author

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?
Anonymous
Not applicable
Author

Any update on this?
Anonymous
Not applicable
Author

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"