Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Looks like snowflake upsert is not supported on multiple columns and currently it allows only one column. Is there any alternate?
Hello,
The Upsert operation allows you to merge data in a Snowflake table based on the data that is incoming to tSnowflakeOutput. After selecting Upsert, select the column to be used as the join key of this operation.
Best regards
Sabrina
Thank you. It does not support multiple keys (multiple columns) to join. It just allows to pick only one key, how do I multi select the join columns.
I created a Hashkey from the unique column index. Like (OrderNumber + OrderDate + PO_NUmber). I then insert this as my Key Column, it is only used for Upserts, not for referential integrity.
I also wrote a Hashing Routine Using either a SHA-1 Hash or a SHA256 to prevent collisions. I am still in testing but it seems to be working.
Good luck.
The Issue is while I am trying to do Upsert based on the date column. It is taking the same time that is needed for the whole table to run.
Also, Please help me out with the table action, I am using None.