We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
An Databricks Variant expression such as select e.col:['attr_ID']::string as id gets an extra space: select e.col: ['attr_ID']::string as id
select e.col:['attr_ID']::string as id
select e.col: ['attr_ID']::string as id
To Reproduce
import sqlfmt.api as sqlfmt sql = """ select e.col:['attr_ID']::string as id from expl e""" print(sqlfmt.format_string(sql, sqlfmt.Mode()))
Expected behavior Should not add that space :)
Actual behavior Provide any output generated by sqlfmt here. If this is a formatting issue, include the code generated by sqlfmt.
Additional context What is the output of sqlfmt --version? sqlfmt, version 0.23.2
sqlfmt --version
sqlfmt, version 0.23.2
The text was updated successfully, but these errors were encountered:
Thanks for the report!
Sorry, something went wrong.
No branches or pull requests
Describe the bug
An Databricks Variant expression such as
select e.col:['attr_ID']::string as id
gets an extra space:select e.col: ['attr_ID']::string as id
To Reproduce
Expected behavior
Should not add that space :)
Actual behavior
Provide any output generated by sqlfmt here. If this is a formatting issue, include the code generated by sqlfmt.
Additional context
What is the output of
sqlfmt --version
?sqlfmt, version 0.23.2
The text was updated successfully, but these errors were encountered: