[
https://issues.apache.org/jira/browse/SPARK-15275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tejas Patil updated SPARK-15275:
--------------------------------
Description:
For bucketed tables in Hive, one can also add constraint about column
sortedness along with ordering.
As per the spec in [0],
[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
> [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
> Priority: Trivial
>
> For bucketed tables in Hive, one can also add constraint about column
> sortedness along with ordering.
> As per the spec in [0],
> [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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]