Yicong-Huang commented on code in PR #54125:
URL: https://github.com/apache/spark/pull/54125#discussion_r2772907404
##########
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:
I changed this to have a `is_udtf` flag. The logic for UDTF cast error
handling is quite different from other UDFs. See comments for details. We can
align the logics in the future.
--
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]