[
https://issues.apache.org/jira/browse/SPARK-44591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17749442#comment-17749442
]
Snoot.io commented on SPARK-44591:
----------------------------------
User 'jasonli-db' has created a pull request for this issue:
https://github.com/apache/spark/pull/42244
> Add jobTags to SparkListenerSQLExecutionStart
> ---------------------------------------------
>
> Key: SPARK-44591
> URL: https://issues.apache.org/jira/browse/SPARK-44591
> Project: Spark
> Issue Type: Bug
> Components: Connect
> Affects Versions: 3.5.0, 4.0.0
> Reporter: Jean-Francois Desjeans Gauthier
> Assignee: Jean-Francois Desjeans Gauthier
> Priority: Major
> Fix For: 3.5.0
>
>
> As part SPARK-43952, users can define job tags via SparkContext.addJobTag.
> These tags are then used to trigger cancelation via
> SparkContext.cancelJobsByTag. Furthermore, these tags can be used to
> logically group multiple jobs together.
> Listener of job events can retrieve job tags via
> SparkListenerJobStart.props.getProperty(SparkContext.SPARK_JOB_TAGS)
> Listener of SQL events can link SparkListenerJobStart &
> SparkListenerSQLExecutionStart via
> SparkListenerJobStart.props.getProperty(SQLExecution.EXECUTION_ID_KEY).
> However, some SQL executions do not trigger jobs (i.e. commands). As such
> listeners of SQL executions cannot resolve job tags of all executions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]