[ https://issues.apache.org/jira/browse/SPARK-31470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100620#comment-17100620 ]
Vikas Reddy Aravabhumi edited comment on SPARK-31470 at 5/6/20, 9:42 AM: ------------------------------------------------------------------------- [~yumwang] Could you please let us know the ETA for this fix? was (Author: vikasreddy): [~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, Oracle and redshift support this clause: > https://issues.apache.org/jira/browse/IMPALA-4166 > https://docs.oracle.com/database/121/DWHSG/attcluster.htm#GUID-DAECFBC5-FD1A-45A5-8C2C-DC9884D0857B > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org