pan3793 commented on code in PR #5898:
URL: https://github.com/apache/kyuubi/pull/5898#discussion_r1434706690


##########
kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala:
##########
@@ -3258,13 +3258,19 @@ object KyuubiConf {
       .booleanConf
       .createWithDefault(true)
 
-  val ENGINE_SPARK_NOTEBOOK_MODE: ConfigEntry[Boolean] =
-    buildConf("kyuubi.engine.spark.notebook.mode")
-      .doc("Enable this to support notebook well." +
-        " For python notebook, the `text/plain` wrapped output will be 
returned.")
+  object EngineSparkOutputMode extends Enumeration {
+    type EngineSparkOutputMode = Value
+    val AUTO, NOTEBOOK = Value
+  }
+
+  val ENGINE_SPARK_OUTPUT_MODE: ConfigEntry[String] =
+    buildConf("kyuubi.engine.spark.output.mode")
+      .doc("The output mode of Spark engine: <ul>" +
+        " <li>AUTO: For pySpark, the extracted `text/plain` from python 
response as output.</li>" +

Review Comment:
   **PySpark**: https://spark.apache.org/docs/latest/api/python/index.html



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