itholic commented on code in PR #43444:
URL: https://github.com/apache/spark/pull/43444#discussion_r1366346557


##########
python/pyspark/errors/exceptions/base.py:
##########
@@ -31,6 +31,7 @@ def __init__(
         message: Optional[str] = None,
         error_class: Optional[str] = None,
         message_parameters: Optional[Dict[str, str]] = None,
+        data: Optional[Any] = None,

Review Comment:
   Sure. I initially set it as `Any` to allow taking other data types in other 
use cases, but currently we only take list of Rows.



-- 
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]

Reply via email to