You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "strongduanmu (via GitHub)" <gi...@apache.org> on 2023/03/30 12:25:52 UTC
[GitHub] [shardingsphere] strongduanmu commented on a diff in pull request #24908: Add more mysql inforamtion_schema system tables
strongduanmu commented on code in PR #24908:
URL: https://github.com/apache/shardingsphere/pull/24908#discussion_r1153181040
##########
test/e2e/sql/src/test/resources/cases/dql/dql-integration-select-system-schema.xml:
##########
@@ -165,4 +165,43 @@
<assertion expected-data-file="select_mysql_information_schema_innodb_trx.xml" />
</test-case>
+ <test-case sql="select * from information_schema.key_column_usage;" db-types="MySQL" scenario-types="db">
+ <assertion expected-data-file="select_mysql_information_schema_key_column_usage.xml" />
+ </test-case>
+
+ <test-case sql="select * from information_schema.optimizer_trace;" db-types="MySQL" scenario-types="db">
+ <assertion expected-data-file="select_mysql_information_schema_optimizer_trace.xml" />
+ </test-case>
+
+ <test-case sql="select * from information_schema.parameters;" db-types="MySQL" scenario-types="db">
+ <assertion expected-data-file="select_mysql_information_schema_parameters.xml" />
+ </test-case>
+
+ <test-case sql="select * from information_schema.partitions;" db-types="MySQL" scenario-types="db">
+ <assertion expected-data-file="select_mysql_information_schema_partitions.xml" />
+ </test-case>
+
+ <test-case sql="select * from information_schema.plugins;" db-types="MySQL" scenario-types="db">
+ <assertion expected-data-file="select_mysql_information_schema_plugins.xml" />
+ </test-case>
+
+ <test-case sql="select * from information_schema.processlist;" db-types="MySQL" scenario-types="db">
+ <assertion expected-data-file="select_mysql_information_schema_processlist.xml" />
+ </test-case>
+
+ <test-case sql="select * from information_schema.profiling;" db-types="MySQL" scenario-types="db">
+ <assertion expected-data-file="select_mysql_information_schema_profiling.xml" />
+ </test-case>
+
+ <test-case sql="select * from information_schema.referential_constraints;" db-types="MySQL" scenario-types="db">
+ <assertion expected-data-file="select_mysql_information_schema_referential_constraints.xml" />
+ </test-case>
+
+ <test-case sql="select * from information_schema.routines;" db-types="MySQL" scenario-types="db">
+ <assertion expected-data-file="select_mysql_information_schema_routines.xml" />
+ </test-case>
+
+ <test-case sql="select * from information_schema.schema_privileges;" db-types="MySQL" scenario-types="db">
Review Comment:
Can you use upper case for database keyword?
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org