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
[BUG] like function behaviour in V2 is not correct #3428
the v2 engine will return true while Calcite return false.
It is a bug in v2 engine. test in spark-sql
spark-sql (default)> select "Amber JOHnny" LIKE "Ambe_";
Amber JOHnny LIKE Ambe_
false
spark-sql (default)> select "Amber JOHnny" LIKE "Ambe_%";
Amber JOHnny LIKE Ambe_%
true
Activity
LantaoJin commentedon Mar 14, 2025
@xinyual
penghuo commentedon Mar 14, 2025
It is a bug in v2 engine. test in spark-sql
[-][BUG] calcite like function didn't work as expected[/-][+][BUG] like function behaviour in V2 is not correct[/+]LantaoJin commentedon Mar 20, 2025
Similar case as
WHERE Like(TextBody, 'test*')should return false