spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Or (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-15275) CatalogTable should store sort ordering for sorted columns
Date Wed, 11 May 2016 21:23:13 GMT

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

Andrew Or updated SPARK-15275:
------------------------------
    Assignee: Tejas Patil

> 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
>            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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message