iodone commented on code in PR #6688: URL: https://github.com/apache/kyuubi/pull/6688#discussion_r1775032301
########## externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/operation/ExecutePython.scala: ########## @@ -59,14 +59,14 @@ class ExecutePython( override protected def supportProgress: Boolean = true override protected def resultSchema: StructType = { - if (result == null || result.schema.isEmpty) { + if (result == null) { new StructType().add("output", "string") .add("status", "string") .add("ename", "string") .add("evalue", "string") .add("traceback", "array<string>") } else { - result.schema + super.resultSchema Review Comment: The logic here is no different from before? -- 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: notifications-unsubscr...@kyuubi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org For additional commands, e-mail: notifications-h...@kyuubi.apache.org