[ 
https://issues.apache.org/jira/browse/SPARK-33509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenchen Fan resolved SPARK-33509.
---------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

Issue resolved by pull request 30452
[https://github.com/apache/spark/pull/30452]

> 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: Maxim Gekk
>            Priority: Major
>             Fix For: 3.1.0
>
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to