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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Problem with null values that insert in output table

Hello

 

I work with Oracle Database.

I have a problem with null values that insert in output table instead of data after a tmap component.

 

I have 2 tables in input :

- Transactions1 (the list of sales)

- Products (the list of product)

 

I have 1 table in output :

- Transactions2 (the list of sales witch an information of product price)

 

I have a tmap with a left outer join on productID between table Transactions1 and table Products

The table Transactions1 is linked to table Transactions 2 on TransactionID.

 

Each day, I insert new record from table Transactions1 in the table transactions2 with a column « product price » (the information should come from table Products)

 

The problem is that the column « product price » in output table Transactions2 is null in all records.

 

Could you help me to find out what is wrong in the configuration ?

Tanks

Labels (3)
13 Replies
Anonymous
Not applicable
Author

When I setup "insert" on Output Component, I get the error : java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SID.TF_MVT_STOCK_PK) violated

I have to select "Update or Insert" to make it work without errors. 

When I choose "Update or insert", old data get updated with my table Product. But new data comes with null value.

Anonymous
Not applicable
Author

So, I have new data tonight.

On the first run with "update or insert". The job updated the old lines, but the new lines came with null value.

0683p000009M49Z.png

On the second run of the job, it updated the value

0683p000009M43w.png

so the job always match the 2 linked table with an update, but never with an insert.

Tanks for help

Anonymous
Not applicable
Author

Hi,

 

    Could you please add a tLogrow just before tOracleOutput to see the records getting loaded to Oracle DB? Also please check which column are you using as key values to insert or update records. 

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable
Author

Hello

Tanks for help.

I created the job from scratch and now it's working.

Regards