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

    https://github.com/apache/spark/pull/17415#discussion_r109099018
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statsEstimation/FilterEstimation.scala
 ---
    @@ -550,6 +565,140 @@ case class FilterEstimation(plan: Filter, 
catalystConf: CatalystConf) extends Lo
         Some(percent.toDouble)
       }
     
    +  /**
    +   * Returns a percentage of rows meeting a binary comparison expression 
containing two columns.
    +   * In SQL queries, we also see predicate expressions involving two 
columns
    +   * such as "column-1 (op) column-2" where column-1 and column-2 belong 
to same table.
    +   * Note that, if column-1 and column-2 belong to different tables, then 
it is a join
    +   * operator's work, NOT a filter operator's work.
    +   *
    +   * @param op a binary comparison operator such as =, <, <=, >, >=
    --- End diff --
    
    How about giving a complete list? Could you update the other functions too?
    
    // @param op a binary comparison operator, including =, <, <=, >, >=, <=>



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