You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by GitBox <gi...@apache.org> on 2021/12/06 07:33:35 UTC

[GitHub] [incubator-kyuubi] yaooqinn commented on a change in pull request #1500: [KYUUBI #1504] Support to capture console out/error into interpreter output for ExecuteScala

yaooqinn commented on a change in pull request #1500:
URL: https://github.com/apache/incubator-kyuubi/pull/1500#discussion_r762758246



##########
File path: kyuubi-common/src/test/scala/org/apache/kyuubi/operation/SparkQueryTests.scala
##########
@@ -518,4 +518,21 @@ trait SparkQueryTests extends HiveJDBCTestHelper {
       assert(e.getMessage contains "not found: value y")
     }
   }
+
+  test("scala code with console output") {
+    withJdbcStatement() { statement =>
+      statement.execute("SET kyuubi.operation.language=scala")
+      val code =
+        """
+          |spark.sql("set").show(false)

Review comment:
       how about `SET kyuubi.operation.language`?




-- 
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: commits-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org