Skip to content

<=> operator not getting formatted correctly #432

Closed
@kathykwon

Description

Describe the bug
The <=> operator is not getting formatted correctly.

To Reproduce

select * from foo join bar on foo.baz <=> bar.baz

Expected behavior

select * from foo join bar on foo.baz <=> bar.baz

Actual behavior

select * from foo join bar on foo.baz <= > bar.baz

Additional context
Running v0.18.0 on a pre-commit hook.

  - repo: https://github.com/tconbeer/sqlfmt
    rev: v0.18.0
    hooks:
      - id: sqlfmt
        language_version: python
        additional_dependencies: [".[jinjafmt]"]

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

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions