Skip to content
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

sparksql sql file that fails AL01 #5994

Open
2 of 3 tasks
gvozdvmozgu opened this issue Jul 2, 2024 · 0 comments
Open
2 of 3 tasks

sparksql sql file that fails AL01 #5994

gvozdvmozgu opened this issue Jul 2, 2024 · 0 comments
Labels
bug Something isn't working sparksql Related to the SparkSQL (aka Spark3) dialect

Comments

@gvozdvmozgu
Copy link
Contributor

gvozdvmozgu commented Jul 2, 2024

Search before asking

  • I searched the issues and found no similar issues.

What Happened

sqlfluff fix failed on AL01 on sql file.

Expected Behaviour

sqlfluff is able to fix the errors in the file.

Observed Behaviour

WARNING: Fixes for AL01 not applied, as it would result in an unparsable file. Please report this as a bug with a minimal query which demonstrates this warning.

How to reproduce

select * from (values (1,2), (3,4)) (a, b);

python src/sqlfluff fix --dialect sparksql pg.sql

Dialect

sparksql

Version

sqlfluff, version 3.0.7

Configuration

default

Are you willing to work on and submit a PR to address the issue?

  • Yes I am willing to submit a PR!

Code of Conduct

@gvozdvmozgu gvozdvmozgu added the bug Something isn't working label Jul 2, 2024
@github-actions github-actions bot added the sparksql Related to the SparkSQL (aka Spark3) dialect label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sparksql Related to the SparkSQL (aka Spark3) dialect
Projects
None yet
Development

No branches or pull requests

1 participant