You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for decimal values without leading digits (#794)
Encountered issue while handling decimal values without leading digits
(for example .00457). Lexer was breaking, updated number token regex to
support the similar cases and added a corresponding test case.
Sample SQL query: `SELECT employee_id FROM employees WHERE salary > .456
* 1000000 AND bonus < .0000239 * salary;`
```
An Unexpected Error Occurred
Parse error at token: 456 at line 1 column 51 Unexpected NUMBER token: {"type":"NUMBER","raw":"456","text":"456","start":50}
```
0 commit comments