sven-weber-db commented on code in PR #55716:
URL: https://github.com/apache/spark/pull/55716#discussion_r3280937825
##########
python/pyspark/worker_message.py:
##########
@@ -270,3 +279,11 @@ def from_stream(cls, stream: IO) -> "WorkerInitInfo":
eval_conf=eval_conf,
udf_info=udf_info,
)
+
+
+def is_non_udf_info(
Review Comment:
I was using an `assertion` in an earlier version of this PR and changed it
according to the comments of earlier reviews. I do agree that an assertion is
fine and should not fail. If it does, it
1. Should be caught by tests
2. There is a issue that we need to look at
I removed this `TypeGuard` and moved the code back to using an assertion.
--
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]