Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aliased literals and scientific notation are not parsed and formatted correctly #136

Open
lovasoa opened this issue Feb 23, 2024 · 0 comments

Comments

@lovasoa
Copy link

lovasoa commented Feb 23, 2024

Currently, sqls formats the following valid sql :

select 1 as number, 'string' as str, 1.2 as float, 1.2e-3 as negative_scientific, TRUE as boolean

into the following invalid sql :

SELECT
        1ASnumber,
        'string'ASstr,
        1.2ASFLOAT,
        1.2e - 3 AS negative_scientificTRUEASBOOLEAN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant