pan3793 commented on code in PR #3477:
URL: https://github.com/apache/incubator-kyuubi/pull/3477#discussion_r967829169


##########
externals/kyuubi-trino-engine/src/test/scala/org/apache/kyuubi/engine/trino/operation/TrinoOperationSuite.scala:
##########
@@ -768,4 +760,20 @@ class TrinoOperationSuite extends WithTrinoEngine with 
TrinoQueryTests {
       }
     }
   }
+
+  test("[KYUUBI #3452] Implement GetInfo for Trino engine") {
+    withSessionConf(Map(KyuubiConf.SERVER_INFO_PROVIDER.key -> "ENGINE"))()() {
+      withSessionHandle { (client, handle) =>
+        val req = new TGetInfoReq()
+        req.setSessionHandle(handle)
+        req.setInfoType(TGetInfoType.CLI_DBMS_NAME)
+        assert(client.GetInfo(req).getInfoValue.getStringValue === "Trino")

Review Comment:
   Have you checked Trino JDBC driver behavior?



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