how to pass primary key in dynamic schema approach

Six Stars

how to pass primary key in dynamic schema approach

Hi,

 

I am trying to load data from multiple tables to target tables using dynamic schema approach. My job flow will look like this.

 

toracleConnection-->tOracleTableList-->tOracleInput-->tmap-->toracleOutput

 

I have defined dynamic type schema in input component and trying to load data into output. but my job is getting failed due to Primary key issue. it is throwing error that primary key is needed to insert/update data in output and of course it sound logical it is expecting so.

 

Can someone help here how to pass primary key dynamically for each table that I'm getting from Table list component.

 

thanks in advance!!

Moderator

Re: how to pass primary key in dynamic schema approach

Hello,

Could you please have a look at this related topic:https://community.talend.com/t5/Design-and-Development/Dynamic-schema-no-primary-key/m-p/51876?

Let us know if it doesn't work for you.

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.

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

Downloads and Trials

Test drive Talend's enterprise products.

Downloads