Skip to content

Bug when formatting float literals in BigQuery #321

Closed
@liaopeiyuan

Description

Describe the bug
sqlfmt adds unnecessary spaces for float literals in E notation in BigQuery

To Reproduce
1e-9

Expected behavior
1e-9

Actual behavior
1 e -9

Additional context
We are using the sqlfmt embedded in dbt develop. The UI on https://sqlfmt.com/ produces the same result.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions