uros-b commented on code in PR #56458:
URL: https://github.com/apache/spark/pull/56458#discussion_r3481140057


##########
python/pyspark/worker.py:
##########
@@ -1047,7 +1046,9 @@ def read_udtf(pickleSer, udtf_info, eval_type, 
runner_conf, eval_conf):
                 
int_to_decimal_coercion_enabled=runner_conf.int_to_decimal_coercion_enabled,
             )
         else:
-            ser = ArrowStreamUDTFSerializer()
+            # Pure Arrow stream I/O; output struct wrapping is handled in the
+            # mapper below.

Review Comment:
   Nit: the new inline comment says "the mapper below" but it was renamed to 
func. Some other comments might be stale too?



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