Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
wong-codaio committed Jan 1, 2022
1 parent 315dfba commit 49d3c6d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/sqlfluff/dialects/dialect_snowflake.py
Expand Up @@ -886,17 +886,9 @@ class SelectClauseModifierSegment(BaseSegment):

type = "select_clause_modifier"
match_grammar = Sequence(
OneOf(
"DISTINCT",
"ALL",
optional=True
),
OneOf("DISTINCT", "ALL", optional=True),
# TOP N is unique to Snowflake, and we can optionally add DISTINCT/ALL in front of it.
Sequence(
"TOP",
Ref("NumericLiteralSegment"),
optional=True
)
Sequence("TOP", Ref("NumericLiteralSegment"), optional=True),
)


Expand Down

0 comments on commit 49d3c6d

Please sign in to comment.