Skip to content

Snowflake dialect #259

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

Merged
merged 1 commit into from
Aug 12, 2020
Merged

Snowflake dialect #259

merged 1 commit into from
Aug 12, 2020

Conversation

eyalleshem
Copy link
Contributor

No description provided.

@eyalleshem
Copy link
Contributor Author

Added a pull request for snowflake dialect .
As i didn't added any new functionally for the dialect yet , i don't sure what exactly expected to be on the test ...

@coveralls
Copy link

coveralls commented Aug 10, 2020

Pull Request Test Coverage Report for Build 204251590

  • 15 of 15 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 91.944%

Totals Coverage Status
Change from base Build 202618535: 0.02%
Covered Lines: 4554
Relevant Lines: 4953

💛 - Coveralls

Copy link
Contributor

@nickolay nickolay left a comment

Choose a reason for hiding this comment

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

Note to self: this is the result of splitting #244 into separate PRs at my request. We needed a new dialect to make the parsing quirk dealing with FROM ((table_name)) alias Snowflake-specific.

Please don't forget to add the new dialect to cli.rs and to all_dialects(): https://github.com/ballista-compute/sqlparser-rs/search?q=MsSqlDialect&unscoped_q=MsSqlDialect


fn snowflake_and_generic() -> TestedDialects {
TestedDialects {
// we don't have a separate SQLite dialect, so test only the generic dialect for now
Copy link
Contributor

Choose a reason for hiding this comment

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

This comment doesn't belong here.

@eyalleshem eyalleshem force-pushed the snowflake_dialect branch 2 times, most recently from 9055ebf to f16b90a Compare August 11, 2020 15:01
@eyalleshem eyalleshem requested a review from nickolay August 11, 2020 15:16
Copy link
Contributor

@nickolay nickolay left a comment

Choose a reason for hiding this comment

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

I don't believe you addressed my request to add the new dialect to all_dialects() as well?

@eyalleshem
Copy link
Contributor Author

Sorry , missed that.
Added now ..

@eyalleshem eyalleshem requested a review from nickolay August 11, 2020 15:46
Copy link
Contributor

@nickolay nickolay left a comment

Choose a reason for hiding this comment

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

Super, thanks!

@nickolay nickolay merged commit f500a42 into apache:main Aug 12, 2020
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.

5 participants