This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
Existing tables not found or updated correctly if incoming schema name isn't lower cased #70
Labels
bug
Something isn't working
Describe the bug
If the incoming schema isn't all lower case (e.g. "MySchema") the code will conclude the tables don't exist and try to recreate them.
To Reproduce
Steps to reproduce the behavior:
Note that the CREATE TABLE succeeds without error because it includes an IF NOT EXISTS clause. However, if you add a column to your source table the pipeline will fail - because the code thinks the table doesn't exist it tries to create it rather than update the schema.
Expected behavior
The existing table should be recognized, no log message should be generated, and any schema updates should be applied.
Your environment
The text was updated successfully, but these errors were encountered: