Scientific notation is split
max-sixty opened this issue · 1 comments
max-sixty commented
Currently:
SELECT
*,
1e-7 AS small
FROM
x
is formatted as:
- 1e-7 AS small
+ 1 e -7 AS small
...which isn't valid SQL.
I'm not sure where this happens. It's sqlparser-rs
which creates the initial expression, so I'm guessing it's being parsed correctly, unless there's a versioning issue?
ref PRQL/prql#1467
max-sixty commented
And thanks a lot for this too!