[
https://issues.apache.org/jira/browse/SPARK-33509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-33509:
------------------------------------
Assignee: Apache Spark
> List partition by names from V2 tables that support partition management
> ------------------------------------------------------------------------
>
> Key: SPARK-33509
> URL: https://issues.apache.org/jira/browse/SPARK-33509
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.1.0
> Reporter: Maxim Gekk
> Assignee: Apache Spark
> Priority: Major
>
> Currently, the SupportsPartitionManagement interface exposes only the
> listPartitionIdentifiers() method which does not allow to list partition by
> names. So, it is hard to implement:
> {code:java}
> SHOW PARTITIONS table PARTITION(month=2)
> {code}
> from the table like:
> {code:java}
> CREATE TABLE $table (price int, qty int, year int, month int)
> USING parquet
> partitioned by (year, month)
> {code}
> because listPartitionIdentifiers() requires to specify value for *year* .
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]