Commit 0e5edf9
committed
Fix Snowflake resync failure due to case mismatch in _resync table suffix (#4184)
The resync suffix was appended in lowercase ("_resync"), producing
mixed-case identifiers like "ACCOUNTS_resync". However, getColsFromTable()
in qrep.go unconditionally applies strings.ToUpper(), converting it to
"ACCOUNTS_RESYNC". Since Snowflake treats quoted identifiers as
case-sensitive, the table lookup fails with "does not exist".
Uppercase the suffix to "_RESYNC" so both creation and query paths
produce consistent identifiers.1 parent af8af34 commit 0e5edf9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
| 597 | + | |
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
730 | | - | |
| 730 | + | |
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
| |||
0 commit comments