Github user chenghao-intel commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1163#discussion_r14065478
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/LogicalPlan.scala
 ---
    @@ -109,3 +109,12 @@ abstract class UnaryNode extends LogicalPlan with 
trees.UnaryNode[LogicalPlan] {
     abstract class BinaryNode extends LogicalPlan with 
trees.BinaryNode[LogicalPlan] {
       self: Product =>
     }
    +
    +/**
    + * A trait that can be mixed in by logical operators representing 
relations that could
    + * estimate their physical sizes.
    + * @tparam Ctx input (context) to the size estimator
    + */
    +trait SizeEstimatableRelation[Ctx] { self: LogicalPlan =>
    --- End diff --
    
    Should we add the upper bound for type Ctx? e.g. SQLContext ?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to