You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
starts_with function are simplified incorrectly when the prefix contains an underscore #19076
starts_with(expr, 'literal') functions are simplified to expr LIKE 'literal%'
The simplification process correctly escapes percent signs (%) in the pattern, but forgets to escape underscores (_). Underscores also have a special meaning in the LIKE operator: match any single character.
Activity
willemv commentedon Dec 3, 2025
take
fix: escape underscores when simplifying `starts_with` (apache#19076)
fix: escape underscores when simplifying `starts_with` (apache#19076)
fix: escape underscores when simplifying `starts_with` (apache#19076)
fix: escape underscores when simplifying `starts_with` (apache#19076)
fix: escape underscores when simplifying `starts_with` (apache#19076)
fix: escape underscores when simplifying `starts_with` (apache#19076)
fix: escape underscores when simplifying `starts_with` (apache#19076)
fix: escape underscores when simplifying `starts_with` (#19077)
fix: escape underscores when simplifying `starts_with` (apache#19077)
fix: escape underscores when simplifying `starts_with` (apache#19077)
fix: escape underscores when simplifying `starts_with` (apache#19077) (…