xianzhe-databricks commented on code in PR #52467:
URL: https://github.com/apache/spark/pull/52467#discussion_r2382690983
##########
python/pyspark/sql/pandas/serializers.py:
##########
@@ -854,14 +854,17 @@ class
ArrowBatchUDFSerializer(ArrowStreamArrowUDFSerializer):
int_to_decimal_coercion_enabled : bool
If True, applies additional coercions in Python before converting to
Arrow
This has performance penalties.
+ binary_as_bytes : bool
+ If True, binary type will be deserialized as bytes, otherwise as
bytearray.
"""
def __init__(
self,
timezone,
safecheck,
input_types,
- int_to_decimal_coercion_enabled=False,
+ int_to_decimal_coercion_enabled,
Review Comment:
the default value for `int_to_decimal_coercion_enabled` is not used at all
--
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]