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 SparkSQL allows for numeric literals as described here. sqlfmt breaks sparkSQL code that uses this feature
To Reproduce
-- Unformatted select -32y as col -- indicates TINYINT, which is a 1-byte signed integer number ;
-- Formatted select -32 y as col -- errors out as the numeric literal must immediately follow the number ;
Expected behavior
Produce working formatted code with the same behaviour as the unformatted code
Actual behavior
Produces unusable sparkSQL code
Additional context What is the output of sqlfmt --version?
sqlfmt --version
sqlfmt, version 0.23.2
What is the output of pip list (or pipx list if you installed using pipx)? pip_list.txt
pip list
pipx list
The text was updated successfully, but these errors were encountered:
Thanks for the issue and the link to the docs!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
SparkSQL allows for numeric literals as described here. sqlfmt breaks sparkSQL code that uses this feature
To Reproduce
Expected behavior
Produce working formatted code with the same behaviour as the unformatted code
Actual behavior
Produces unusable sparkSQL code
Additional context
What is the output of
sqlfmt --version
?What is the output of
pip list
(orpipx list
if you installed using pipx)?pip_list.txt
The text was updated successfully, but these errors were encountered: