-
Notifications
You must be signed in to change notification settings - Fork 546
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
Add support for Snowflake SHOW DATABASES/SCHEMAS/TABLES/VIEWS/COLUMNS statements #1501
Conversation
991298d
to
85901b5
Compare
85901b5
to
72a95c5
Compare
@iffyio thanks for the great comments, it really helped me improve this code. New commit for you to look at. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments, mostly small I think, the only one unclear to me was the mysql object_name insert behavior. I think this looks good overall, Thanks @yoavcloud!
src/dialect/mod.rs
Outdated
@@ -606,6 +606,12 @@ pub trait Dialect: Debug + Any { | |||
fn supports_top_before_distinct(&self) -> bool { | |||
false | |||
} | |||
|
|||
/// Returns true if this dialect support the `LIKE 'pattern'` option in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Returns true if this dialect support the `LIKE 'pattern'` option in | |
/// Returns true if this dialect supports the `LIKE 'pattern'` option in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! cc @alamb
b665ee3
to
c875757
Compare
🚀 |
Thanks again @iffyio and @yoavcloud |
We think this may have introduced a small regression: |
This PR extends the existing support for SHOW statements to Snowflake