sqlfluff
sqlfluff copied to clipboard
sparksql sql file that fails AL01
Search before asking
- [X] 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
- [X] I agree to follow this project's Code of Conduct