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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tELTNetezzaMap - Update the latest row of the key in the target table

Hello,

 

I have a Netezza ELT Input Component which selects data from source table (say customer where fields are cust_id, name, age, gender, address, timestamp).

I have linked input to Netezza ELT Map Component which has the fields from the source table.

I have linked ELT Map to ELT Output Component for update (say customer_1 where fields are cust_id, name, age, gender, address, last_modified_date, last_modified_operation).

 

Not I wanted to update the customer_1 table for the matching cust_id of customer table but only the latest row.

 

eg.
customer - Source Table

1,xx,23,M,www,2018-01-11 11:00:000000

2,yy,20,nnn,2018-01-11 11:00:000000

 

customer_1 - Target Table

1,xy,23,M,www,2019-03-08 00:00:000000 

1,xm,23,M,www,2018-01-01 00:00:000000

2,yx,20,nnn,2019-02-01 00:00:000000

2,ym,20,nnn,2019-01-01 00:00:000000

 

Only the red rows should have been updated. After ELT:

customer_1

1,xx,23,M,www,2019-03-08 00:00:000000 

1,xm,23,M,www,2018-01-01 00:00:000000

2,yy,20,nnn,2019-02-01 00:00:000000

2,ym,20,nnn,2019-01-01 00:00:000000

 

How do I achieve in ELT?

 

What should I write in ELTMap?

 

Thanks.

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I fixed this using tJava component.

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hello,

Any job setting screenshot could be uploaded into forum?

Best regards

Sabrina

Anonymous
Not applicable
Author

I fixed this using tJava component.