LucaCappelletti94 commented on PR #3043:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/3043#issuecomment-7237961502

   @zommiommy the misgrouping comes from the preexistent 
`SQLiteDialect::prec_value`, which ranks `Precedence::Like` at 19 below `Eq` 
and `Between` at 20. `GLOB`, `MATCH`, `REGEXP`, `LIKE` and their `NOT` forms 
all take that level, so `a GLOB 'p' = 1` and `a LIKE 'p' = 1` misgroup on 
`main` as well.
   
   I will fix the level in a separate PR from `main`, with your test extended 
to all of them.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to