SteNicholas commented on a change in pull request #13017:
URL: https://github.com/apache/flink/pull/13017#discussion_r468374749
##########
File path:
flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/cli/CliClient.java
##########
@@ -532,6 +535,14 @@ private void callShowFunctions() {
.collect(Collectors.toList());
}
+ private List<String> getShowResult(String objectToShow, SqlCommandCall
cmdCall) {
+ TableResult tableResult = executor.executeSql(sessionId, "SHOW
" + objectToShow + " " + cmdCall.operands[0]);
Review comment:
Yeah, I check the `parseBySqlParser` method, and confirm the
`cmdCall.operands[0]` contains the whole SQL statement.
----------------------------------------------------------------
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]