Repository navigation
Fix for whitespace bug in LIKE formatting - #101931
Conversation
|
Workflow [PR], commit [28a2d60] Summary: ❌
AI ReviewSummaryThis PR fixes malformed SQL formatting where Final VerdictStatus: ✅ Approve |
…iling-space-parsing
|
The |
|
The MSan stress test failure (MemorySanitizer: use-of-uninitialized-value, STID 4179-5154 or 4148-3044) is a known pre-existing issue unrelated to this PR. Fix: #102158 |
|
The flaky check failure is fixed in #102148, let's update the branch. |
…iling-space-parsing
Address review: apply the same fix symmetrically to `ASTShowColumnsQuery::formatQueryImpl`, which used `" LIKE"` (no trailing space) before `quoteString(like)` and produced malformed output like `LIKE'%x%'`. Extend the stateless `formatQuery` test to cover this path.
|
This was fixed by #105146. Let's update the branch. |
LLVM Coverage Report
Changed lines: 100.00% (8/8) · Uncovered code |
|
The remaining CI failure is @groeneai, could you investigate the failure and provide a fix in a separate PR? If the fix is already in progress, please link it here. |
* Fix for whitespace bug in LIKE parsing * Fix whitespace bug in SHOW COLUMNS LIKE formatting Address review: apply the same fix symmetrically to `ASTShowColumnsQuery::formatQueryImpl`, which used `" LIKE"` (no trailing space) before `quoteString(like)` and produced malformed output like `LIKE'%x%'`. Extend the stateless `formatQuery` test to cover this path. --------- Co-authored-by: Alexey Milovidov <[email protected]>
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fixes a small whitespace bug during parsing of LIKE statement. Closes #101877
Documentation entry for user-facing changes
Version info
26.5.1.794