Yicong-Huang commented on code in PR #54125:
URL: https://github.com/apache/spark/pull/54125#discussion_r2762159584
##########
python/pyspark/sql/pandas/serializers.py:
##########
@@ -618,6 +502,8 @@ def __init__(
input_type: Optional[StructType] = None,
int_to_decimal_coercion_enabled: bool = False,
prefers_large_types: bool = False,
+ ignore_unexpected_complex_type_values: bool = False,
+ error_class: Optional[str] = None,
Review Comment:
it is needed for UDTF which requires a different error message. I added
comments here. This can be cleaned when we move transform/convert logic out of
serializers, then UDTF will be able to set the error message locally.
--
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]