Repository navigation
Commit 02c0c69
committed
fix(model): keep quoting when normalizing column_descriptions keys
_column_descriptions_validator built each key with part.this, which is the
bare identifier string, so the quoted flag was gone before
normalize_identifiers ran. A quoted key was then normalized as if it were
unquoted, and on dialects where quoting makes a column case-sensitive the
resulting name matched no column, so the description was dropped along with
the rest of the table's comments.
Normalize each part while it is still an identifier. Unquoted keys normalize
exactly as before.
Fixes #5943
Signed-off-by: ReguiguiMohamed <mohamedreguigui2004@gmail.com>1 parent 839c5b2 commit 02c0c69
2 files changed
Lines changed: 36 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
326 | 328 | | |
327 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
328 | 335 | | |
329 | 336 | | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | 337 | | |
336 | 338 | | |
337 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1000 | 1000 | | |
1001 | 1001 | | |
1002 | 1002 | | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
1003 | 1029 | | |
1004 | 1030 | | |
1005 | 1031 | | |
| |||
0 commit comments