itholic commented on code in PR #44859: URL: https://github.com/apache/spark/pull/44859#discussion_r1464503772
########## python/pyspark/sql/types.py: ########## @@ -2214,12 +2211,9 @@ def verify_acceptable_types(obj: Any) -> None: # subclass of them can not be fromInternal in JVM if type(obj) not in _acceptable_types[_type]: raise PySparkTypeError( - error_class="CANNOT_ACCEPT_OBJECT_IN_TYPE", - message_parameters={ - "data_type": str(dataType), - "obj_name": str(obj), - "obj_type": type(obj).__name__, - }, Review Comment: Sure, will push another commit after addressing comments. -- 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