You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/12/19 21:50:13 UTC
[jira] [Updated] (SPARK-4636) Cluster By & Distribute By output
different with Hive
[ https://issues.apache.org/jira/browse/SPARK-4636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust updated SPARK-4636:
------------------------------------
Target Version/s: 1.3.0
> Cluster By & Distribute By output different with Hive
> -----------------------------------------------------
>
> Key: SPARK-4636
> URL: https://issues.apache.org/jira/browse/SPARK-4636
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Cheng Hao
>
> This is a very interesting bug.
> Semantically, Cluster By & Distribute By will not cause a global ordering, as described in Hive wiki:
> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+SortBy
> However, the partition keys are sorted in MapReduce after shuffle, so from the user point of view, the partition key itself is global ordered, and it may looks like:
> http://stackoverflow.com/questions/13715044/hive-cluster-by-vs-order-by-vs-sort-by
--
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