spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sameeragarwal <...@git.apache.org>
Subject [GitHub] spark pull request #15597: [SPARK-18063][SQL] Failed to infer constraints ov...
Date Mon, 24 Oct 2016 10:03:05 GMT
Github user sameeragarwal commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15597#discussion_r84655214
  
    --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/LogicalPlan.scala
---
    @@ -293,15 +293,19 @@ abstract class UnaryNode extends LogicalPlan {
        * expressions with the corresponding alias
        */
       protected def getAliasedConstraints(projectList: Seq[NamedExpression]): Set[Expression]
= {
    -    projectList.flatMap {
    +    var aliasedConstraints = child.constraints.toSet
    --- End diff --
    
    Remove `toSet` (`ExpressionSet` should support all these operations)


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

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


Mime
View raw message