fix(cubesql): Correctly escape/unescape LIKE patterns#10862
Conversation
|
Claude finished @MazterQyou's task in 5m 42s —— View job Code Review: fix(cubesql): Correctly escape/unescape LIKE patterns
SummaryThis is a well-structured fix addressing three related LIKE-pattern escaping issues. The changes are correct and the approach is sound. I have a few observations and minor suggestions below. What This PR Does
Correctness
Suggestions & Observations
SecurityThe VerdictThis is a solid, well-tested fix. The |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #10862 +/- ##
========================================
Coverage 78.86% 78.86%
========================================
Files 470 470
Lines 92289 92434 +145
Branches 3435 3435
========================================
+ Hits 72784 72902 +118
- Misses 19003 19030 +27
Partials 502 502
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Alex Qyoun-ae <4062971+MazterQyou@users.noreply.github.com>
2101ff0 to
8c1f8f9
Compare
Check List
Description of Changes Made
This PR fixes an issue with special characters in
LIKEpattern generating incorrect SQL by fixes two issues in CubeSQL and one in BaseQuery:startsWith/endsWithfilter operatorsESCAPEclause forLIKEfor data warehouses that have no default escapeRelated tests are included.