spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gatorsmile <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-12720] [SQL] SQL Generation Support for...
Date Fri, 04 Mar 2016 03:16:08 GMT
Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/11283#discussion_r54985730
  
    --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/SQLBuilder.scala ---
    @@ -107,6 +107,11 @@ class SQLBuilder(logicalPlan: LogicalPlan, sqlContext: SQLContext)
extends Loggi
         case p: Project =>
           projectToSQL(p, isDistinct = false)
     
    +    case a @ Aggregate(_, _, e @ Expand(_, _, p: Project))
    +      if sameOutput(e.output,
    +        p.child.output ++ a.groupingExpressions.map(_.asInstanceOf[Attribute])) =>
    --- End diff --
    
    Thank you for pointing it out! I will be more careful next time.


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