You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/08/16 16:49:45 UTC
[jira] [Assigned] (SPARK-10034) Can't analyze Sort on Aggregate
with aggregation expression named "_aggOrdering"
[ https://issues.apache.org/jira/browse/SPARK-10034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-10034:
------------------------------------
Assignee: (was: Apache Spark)
> Can't analyze Sort on Aggregate with aggregation expression named "_aggOrdering"
> --------------------------------------------------------------------------------
>
> Key: SPARK-10034
> URL: https://issues.apache.org/jira/browse/SPARK-10034
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Wenchen Fan
>
> {code}
> val df = Seq(1 -> 2).toDF("i", "j")
> val query = df.groupBy('i)
> .agg(max('j).as("_aggOrdering"))
> .orderBy(sum('j))
> checkAnswer(query, Row(1, 2))
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org