yanghykevin commented on code in PR #2364:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2364#discussion_r3375869112
##########
tests/sqlparser_common.rs:
##########
@@ -4643,6 +4645,42 @@ fn parse_create_table_as_table() {
}
}
+#[test]
+fn parse_table_command() {
+ let dialects = all_dialects_where(|d| d.supports_table_command());
+
+ // Top-level.
+ dialects.verified_stmt("TABLE films");
+ // Schema-qualified.
+ dialects.verified_stmt("TABLE myschema.films");
+ // Database-qualified (three-part name).
Review Comment:
Yes, actually I will enable this command and add mysql testing in the next
revision as well since this implementation works for both
--
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]