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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
ekamal
Contributor
Contributor

ignore new columns while loading into postgressql

I am trying load data from a csv file to postgres table using dynamic load.

I am trying to see is there an option to ignore new columns added in the source file while loading into postgressql

Labels (3)
1 Reply
evansdar
Contributor II
Contributor II

I've done this before using dynamic schema. Basically you query the target metadata to get a set of columns, and the incoming file to get a set of columns and do a set difference to get the new columns from the source, from there you can use the common columns to load to tgt.

 

You may also be able to use POSTGRES' ON CONFLICT IGNORE functionality, but I've never tested this use case