LucaCappelletti94 opened a new pull request, #3043:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/3043

   `SQLiteDialect` parses `a GLOB b` and `a MATCH b` but rejects their negated 
forms, which SQLite accepts.
   
   ```sql
   CREATE INDEX i ON t(id) WHERE id NOT GLOB 'h-*';
   -- Expected: IN or BETWEEN after NOT, found: GLOB
   ```
   
   The SQLite infix hook now also reads `NOT GLOB` and `NOT MATCH` as the new 
`BinaryOperator::NotGlob` and `BinaryOperator::NotMatch`, at the precedence the 
plain operators already have.


-- 
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