ayman-sigma opened a new pull request, #2280: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2280
This change fixes tokenizer behavior for `<` prefixed sequences so subtraction and comparison are parsed correctly instead of being treated as an operator start. The issue mainly happens when there is no space between `<` and other tokens like `-`, or `=`. This PR address: 1. The use of `+` or `-` after `<` (`Lt`) to identify the sign of the following number/identifier 2. Similarly, the use of `+` or `-` after `<=` (`LtEq`) 3. Keeps the Two way arrow token `<->` the same for dialects that supports geometric types. -- 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]
