ulysses-you commented on code in PR #44445:
URL: https://github.com/apache/spark/pull/44445#discussion_r1434827079


##########
core/src/main/scala/org/apache/spark/TaskContext.scala:
##########
@@ -94,6 +94,11 @@ abstract class TaskContext extends Serializable {
    */
   def isCompleted(): Boolean
 
+  /**
+   * Returns true if the task has failed.
+   */
+  def isFailed(): Boolean

Review Comment:
   @HyukjinKwon does pyspark support update status from jvm side ? It seems we 
can only send a snapshot status to python side ?



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