xinrong-meng commented on code in PR #41147: URL: https://github.com/apache/spark/pull/41147#discussion_r1196924307
########## python/pyspark/sql/pandas/serializers.py: ########## @@ -317,66 +320,6 @@ def arrow_to_pandas(self, arrow_column): s = super(ArrowStreamPandasUDFSerializer, self).arrow_to_pandas(arrow_column) return s - # To keep the current UDF behavior. - def _create_array(self, series, arrow_type): Review Comment: Inherit `_create_array` of `ArrowStreamPandasSerializer`. After the change, it is consistent with `createDataFrame` from a pandas DataFrame when Arrow is enabled. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org