zhengruifeng commented on code in PR #54568:
URL: https://github.com/apache/spark/pull/54568#discussion_r2871951884
##########
python/pyspark/sql/tests/coercion/golden_python_udf_input_type_coercion_with_arrow_and_pandas.csv:
##########
@@ -1,11 +1,11 @@
Test Case Spark Type Spark Value Python Type Python
Value
-0 byte_values tinyint [-128, 127, 0] ['int', 'int', 'int']
['-128', '127', '0']
+0 byte_values tinyint [-128, 127, 0] ['int8', 'int8', 'int8']
['-128', '127', '0']
Review Comment:
for arrow-optimized python udf with legacy pandas conversion, the input
`int` is changed to `np.int8`, is this acceptable? @ueshin
--
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]