Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19873#discussion_r154855150
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/LogicalPlan.scala
 ---
    @@ -50,41 +50,6 @@ abstract class LogicalPlan
       /** Returns true if this subtree has data from a streaming data source. 
*/
       def isStreaming: Boolean = children.exists(_.isStreaming == true)
     
    -  /**
    -   * Returns a copy of this node where `rule` has been recursively applied 
first to all of its
    -   * children and then itself (post-order). When `rule` does not apply to 
a given node, it is left
    -   * unchanged.  This function is similar to `transformUp`, but skips 
sub-trees that have already
    -   * been marked as analyzed.
    -   *
    -   * @param rule the function use to transform this nodes children
    -   */
    -  def resolveOperators(rule: PartialFunction[LogicalPlan, LogicalPlan]): 
LogicalPlan = {
    --- End diff --
    
    can we also remove the `analyzed` flag in this class?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to