Hyukjin Kwon created SPARK-37785:
------------------------------------
Summary: Add Utils.isAtExecutor
Key: SPARK-37785
URL: https://issues.apache.org/jira/browse/SPARK-37785
Project: Spark
Issue Type: Improvement
Components: Spark Core
Affects Versions: 3.3.0
Reporter: Hyukjin Kwon
There is currently no single call to see if we're on Executor (or Driver).
TaskContext.get == null is being used for that way. We should better explicitly
factor out to Utils.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]