wuchong commented on a change in pull request #14840:
URL: https://github.com/apache/flink/pull/14840#discussion_r582760655
##########
File path:
flink-table/flink-sql-client/src/test/java/org/apache/flink/table/client/cli/CliClientTest.java
##########
@@ -326,6 +326,26 @@ public void testDropCatalog() throws Exception {
assertThat(executor.getNumExecuteSqlCalls(), is(1));
}
+ @Test
+ public void testShowViews() throws Exception {
+ TestingExecutor executor =
+ new TestingExecutorBuilder()
+ .setExecuteSqlConsumer(
+ (ignored1, sql) -> {
+ SHOW_ROW.setField(0, "v1");
Review comment:
We should add only condition return "v1" when the input `sql` equals to
`show views`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]