You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Terry Kim (Jira)" <ji...@apache.org> on 2023/11/03 23:04:00 UTC
[jira] [Updated] (SPARK-44886) Introduce CLUSTER BY SQL clause to CREATE/REPLACE table
[ https://issues.apache.org/jira/browse/SPARK-44886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Terry Kim updated SPARK-44886:
------------------------------
Summary: Introduce CLUSTER BY SQL clause to CREATE/REPLACE table (was: Introduce CLUSTER BY clause to CREATE/REPLACE table)
> Introduce CLUSTER BY SQL clause to CREATE/REPLACE table
> -------------------------------------------------------
>
> Key: SPARK-44886
> URL: https://issues.apache.org/jira/browse/SPARK-44886
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Terry Kim
> Priority: Major
>
> This proposes to introduce CLUSTER BY clause to CREATE/REPLACE SQL syntax:
> {code:java}
> CREATE TABLE tbl(a int, b string) CLUSTER BY (a, b){code}
> There will not be an implementation, but it's up to the catalog implementation to utilize the clustering information (e.g., Delta, Iceberg, etc.).
> Note that specifying CLUSTER BY will throw an exception if the table being created is for v1 source or session catalog (e.g., v2 source w/ session catalog).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org