Github user liancheng commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14106#discussion_r70584778
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala
 ---
    @@ -165,36 +165,48 @@ object PushProjectThroughSample extends 
Rule[LogicalPlan] {
      * but can also benefit other operators.
      */
     object RemoveAliasOnlyProject extends Rule[LogicalPlan] {
    -  // Check if projectList in the Project node has the same attribute names 
and ordering
    -  // as its child node.
    +  /**
    +   * Returns true if the project list is semantically same with child 
output, after strip alias on
    --- End diff --
    
    Nit: "... same with ..." => "... same as ..."


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to