PeerDB-io / peerdb

Fast, Simple and a cost effective tool to replicate data from Postgres to Data Warehouses, Queues and Storage
https://peerdb.io
Other
2.17k stars 88 forks source link

Fix snowflake table check #2036

Closed Amogh-Bharadwaj closed 3 weeks ago

Amogh-Bharadwaj commented 3 weeks ago

The checkIfTableExists function needs the input - schema name and table name - to be in the right case. Tested this on Snowflake and also with a mirror Also we should not skip SetupNormalize if the mirror is a resync mirror so that we can REPLACE the table downstream