link3280 commented on code in PR #5585:
URL: https://github.com/apache/kyuubi/pull/5585#discussion_r1383487398


##########
externals/kyuubi-flink-sql-engine/src/test/scala/org/apache/kyuubi/engine/flink/operation/FlinkOperationSuite.scala:
##########
@@ -1265,4 +1266,14 @@ abstract class FlinkOperationSuite extends 
HiveJDBCTestHelper with WithFlinkTest
       })
     assert(exception.getMessage === "Futures timed out after [60000 
milliseconds]")
   }
+
+  test("execute statement - help") {
+    withJdbcStatement() { stmt =>
+      val resultSet = stmt.executeQuery("help")
+      val metadata = resultSet.getMetaData
+      assert(metadata.getColumnName(1) === "result")
+      assert(resultSet.next())
+      assert(resultSet.getString(1).equals(CliStrings.MESSAGE_HELP.toString))

Review Comment:
   I think job statements are very common and should be included. Plus, we 
could state that the help message only contains the most frequently used 
statements. Thanks!



-- 
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]

Reply via email to