[ 
https://issues.apache.org/jira/browse/SPARK-15275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-15275:
------------------------------------

    Assignee: Apache Spark

> [SQL] 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: 1.6.1
>            Reporter: Tejas Patil
>            Assignee: Apache Spark
>            Priority: Trivial
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to