Maxim Gekk created SPARK-33509:
----------------------------------

             Summary: 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


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