-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Strange formatting for Athena SQL array/map types #500
Comments
We support similar syntax for structs amd arrays in BQ. I think we may just have to add the "map" keyword into that lever. |
Raised a PR #503 |
So apparently sqlfluff lints The specific sqfluff rule is:
Not sure if the best solution here is to simply ignore the |
Yeah that makes no sense to have a space after map but not array. I'd ignore that rule. |
Describe the bug
Athena has array and map datatypes, that use
<
and>
characters. Running sqlfmt on queries that use these types produce unexpected behaviour.Expected behavior
Actual behavior
Strange spacing in between < and > separators
Additional context
What is the output of
sqlfmt --version
?Note: non-breaking, but not ideal
The text was updated successfully, but these errors were encountered: