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
It is similar to #1118 and #2860 (but not fixed after #2865). But I found this issue in the newest version.
PRQL compiler version:0.9.2
I found that prql compiler converts the big number (greater than 1e19 or approximately 2^63) to the format with scientifc notation. However, a space is in generated sql.
Error message from db: OperationalError: near "AS": syntax error
PRQL input
from tb1
select new_col=c0+10000000000000000000
SQL output
SELECT
c0 +1 e19 AS new_col
FROM
tb1
Expected SQL output
SELECT
c0 + 1E19 AS new_col
FROM
tb1
MVCE confirmation
Minimal example
New issue
Anything else?
No response
The text was updated successfully, but these errors were encountered:
What happened?
It is similar to #1118 and #2860 (but not fixed after #2865). But I found this issue in the newest version.
PRQL compiler version:0.9.2
I found that prql compiler converts the big number (greater than 1e19 or approximately 2^63) to the format with scientifc notation. However, a space is in generated sql.
Error message from db: OperationalError: near "AS": syntax error
PRQL input
SQL output
Expected SQL output
MVCE confirmation
Anything else?
No response
The text was updated successfully, but these errors were encountered: