DanCodedThis commented on code in PR #1702:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/1702#discussion_r1944683384
##########
src/dialect/snowflake.rs:
##########
@@ -182,6 +183,15 @@ impl Dialect for SnowflakeDialect {
return Some(parse_file_staging_command(kw, parser));
}
+ if parser.parse_keyword(Keyword::SHOW) {
+ let terse = parser.parse_keyword(Keyword::TERSE);
+ if parser.parse_keyword(Keyword::OBJECTS) {
+ return Some(parse_show_objects(terse, parser));
+ } else {
+ return Some(parser.parse_show());
Review Comment:
Added the `terse` test in other relevant snowflake `SHOW` statement tests,
just in case (checked, they all worked and the `ShowObjects` also)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]