Github user icexelloss commented on a diff in the pull request:
https://github.com/apache/spark/pull/21427#discussion_r196437348
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/python/ArrowPythonRunner.scala
---
@@ -58,18 +58,18 @@ class ArrowPythonRunner(
new WriterThread(env, worker, inputIterator, partitionIndex, context) {
protected override def writeCommand(dataOut: DataOutputStream): Unit
= {
- PythonUDFRunner.writeUDFs(dataOut, funcs, argOffsets)
- if (respectTimeZone) {
- PythonRDD.writeUTF(timeZoneId, dataOut)
- } else {
- dataOut.writeInt(SpecialLengths.NULL)
+ dataOut.writeInt(conf.size)
--- End diff --
maybe put this in a `writeConf` method to be more explicit?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]