You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/06/01 16:48:59 UTC
[jira] [Closed] (SPARK-15275) CatalogTable should store sort
ordering for sorted columns
[ https://issues.apache.org/jira/browse/SPARK-15275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin closed SPARK-15275.
-------------------------------
Resolution: Later
Closing as later. See discussion on pull request for more details.
> CatalogTable should store sort ordering for sorted columns
> ----------------------------------------------------------
>
> Key: SPARK-15275
> URL: https://issues.apache.org/jira/browse/SPARK-15275
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: Tejas Patil
> Assignee: Tejas Patil
>
> For bucketed tables in Hive, one can also add constraint about column sortedness along with ordering.
> As per the spec in [0], CREATE TABLE statement can allow SORT ordering as well:
> [CLUSTERED BY (col_name, col_name, ...) [SORTED BY (col_name [ASC|DESC], ...)] INTO num_buckets BUCKETS]
> See [1] for example.
> [0] : https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-CreateTable
> [1] : https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-BucketedSortedTables
> Currently CatalogTable does not store any information about the sort ordering and just has the names of the sorted columns.
--
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