spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Reddy Aravabhumi (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-31470) Introduce SORTED BY clause in CREATE TABLE statement
Date Wed, 06 May 2020 09:32:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-31470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100620#comment-17100620
] 

Vikas Reddy Aravabhumi commented on SPARK-31470:
------------------------------------------------

[~yumwang] Could you please let us know the ETA of this fix?

> Introduce SORTED BY clause in CREATE TABLE statement
> ----------------------------------------------------
>
>                 Key: SPARK-31470
>                 URL: https://issues.apache.org/jira/browse/SPARK-31470
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Yuming Wang
>            Priority: Major
>
> We usually sort on frequently filtered columns when writing data to improve query performance.
But there is no these info in the table information.
>  
> {code:sql}
> CREATE TABLE t(day INT, hour INT, year INT, month INT)
> USING parquet
> PARTITIONED BY (year, month)
> SORTED BY (day, hour);
> {code}
>  
> Impala and redshift support this clause:
> https://issues.apache.org/jira/browse/IMPALA-4166
> https://docs.aws.amazon.com/redshift/latest/dg/t_Sorting_data-compare-sort-styles.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message