Skip to content

BugFix - Table name/Model name unintentional corruption#1362

Merged
mail4umar merged 2 commits intovertica:masterfrom
mail4umar:bugfix_relation_name
Mar 11, 2026
Merged

BugFix - Table name/Model name unintentional corruption#1362
mail4umar merged 2 commits intovertica:masterfrom
mail4umar:bugfix_relation_name

Conversation

@mail4umar
Copy link
Copy Markdown
Collaborator

@mail4umar mail4umar commented Mar 11, 2026

Reported here: #1339

Added the replace_outside_quotes helper function that skips over single-quoted string literals and double-quoted identifiers when applying replacements.
Modified indent_vpy_sql to use replace_outside_quotes instead of the naive chain of replace() calls, so SQL keywords embedded inside quoted identifiers (e.g., "TEST_SELECTION_BUG_5") are never corrupted.

closes: #1363

@mail4umar mail4umar requested a review from roypaulin March 11, 2026 14:40
@mail4umar mail4umar requested review from vikash018 March 11, 2026 15:17
@vikash018
Copy link
Copy Markdown
Collaborator

overall looks good to me.

@mail4umar mail4umar merged commit 1acba63 into vertica:master Mar 11, 2026
1 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

problem "fit" with current relation

2 participants