HeartSaVioR commented on code in PR #56057:
URL: https://github.com/apache/spark/pull/56057#discussion_r3294037763


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/LogicalPlan.scala:
##########
@@ -80,6 +80,14 @@ abstract class LogicalPlan
   def isStreaming: Boolean = _isStreaming
   private[this] lazy val _isStreaming = children.exists(_.isStreaming)
 
+  /** Marks if a streaming node is a stateful operator. */
+  def isStateful: Boolean = false
+
+  /** Marks if a subplan contains a stateful operator. */

Review Comment:
   OK looks like it's not about this PR but about the way we check the stateful 
operator in UnsupportedOperationChecker. It's a bit nuanced and it's not the 
same with this, but good to unify it if unification doesn't hurt. Though it 
should be a follow-up rather than this.



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