This repository has been archived by the owner on Jul 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Incorrect AST when using "LIKE" expression #47
Labels
Comments
I have confirmed this bug as well. Here is another more complex example with several operators, LIKE is the only one that sometimes puts a 'binary' 'and' between the 'left' and 'right'. It seems to be dependent on where the LIKE is in the order of statements too, if the LIKE expression is last it works fine. If you view the AST in a JSON viewer it is very easy to see the issue.
|
Here is another minimal example (just two
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When parsing a query like:
The AST generated is incorrect.
In the where clause, the
LIKE
node is the root node. HoweverAND
node should be the root node.The text was updated successfully, but these errors were encountered: