Skip to content

Commit

Permalink
fix(sqlparser): fix operator precedence between '>=' and 'IN': add te…
Browse files Browse the repository at this point in the history
…stcase
  • Loading branch information
ioperations committed Feb 2, 2023
1 parent 375893d commit 5b1526b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/frontend/planner_test/tests/testdata/expr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -538,3 +538,9 @@
logical_plan: |
LogicalProject { exprs: [Array(1:Int32, null:Int32)] }
└─LogicalValues { rows: [[]], schema: Schema { fields: [] } }
- name: regression (#7641) -fuzzing test failed at Bind error,types Boolean and Varchar cannot be matched
sql: |
select false >= 'LN1O0QP1yi' NOT IN (md5('4SeUPZhUbH'))
batch_plan: |
BatchProject { exprs: [(false:Boolean >= Not(In('LN1O0QP1yi':Varchar, Md5('4SeUPZhUbH':Varchar))))] }
└─BatchValues { rows: [[]] }

0 comments on commit 5b1526b

Please sign in to comment.