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

Clickhouse: allow FINAL modifier #3534

Merged

Conversation

ThomAub
Copy link
Contributor

@ThomAub ThomAub commented Jul 1, 2022

Brief summary of the change made

Fixes #3507

Are there any other side effects of this change that we should be aware of?

Pull Request checklist

  • Please confirm you have completed any of the necessary steps below.

  • Included test cases to demonstrate any code changes, which may be one or more of the following:

    • .sql/.yml parser test cases in test/fixtures/dialects (note YML files can be auto generated with tox -e generate-fixture-yml).
  • Added appropriate documentation for the change.

  • Created GitHub issues for any relevant followup/future enhancements if appropriate. ClickHouse dialect does not support final modifier #3507

@ThomAub ThomAub force-pushed the thomaub/clickhouse-3507-final-modifier branch from b900f0a to bf76043 Compare July 1, 2022 17:39
@tunetheweb tunetheweb changed the title allow final modifier in clickhouse dialect Clickhouse: allow FINAL modifier Jul 1, 2022
@codecov
Copy link

codecov bot commented Jul 1, 2022

Codecov Report

Merging #3534 (eb8a6bf) into main (153c438) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main     #3534   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          172       172           
  Lines        13047     13050    +3     
=========================================
+ Hits         13047     13050    +3     
Impacted Files Coverage Δ
src/sqlfluff/dialects/dialect_clickhouse.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 153c438...eb8a6bf. Read the comment docs.

test/fixtures/dialects/clickhouse/final.sql Outdated Show resolved Hide resolved
src/sqlfluff/dialects/dialect_clickhouse.py Outdated Show resolved Hide resolved
src/sqlfluff/dialects/dialect_clickhouse.py Show resolved Hide resolved
ThomAub and others added 3 commits July 1, 2022 22:55
Copy link
Member

@tunetheweb tunetheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tunetheweb tunetheweb merged commit e42f60c into sqlfluff:main Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ClickHouse dialect does not support final modifier
2 participants