redshift dialect: SELECT TOP xx
rows causing parsing error
#3531
Labels
bug
Something isn't working
good first issue
Good for newcomers
redshift
Issues relating to Amazon Redshift dialect
Search before asking
What Happened
Trying to select
TOP
X values from select throws parsing error.Expected Behaviour
Add support for the view
TOP
keyword.Observed Behaviour
Query not currently supported, results in parse errors:
How to reproduce
Create a test file containing as below and try to lint/parse with sqlfluff.
Dialect
redshift
Version
sqlfluff, version 1.0.0
Python 3.8.10
Configuration
Are you willing to work on and submit a PR to address the issue?
Code of Conduct
The text was updated successfully, but these errors were encountered: