Github user BryanCutler commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21427#discussion_r197510171
  
    --- 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 --
    
    I think it's fine, but I will add some comments


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to