[jira] [Assigned] (SPARK-33509) List partition by names from V2 tables that support partition management

2020-11-25 Thread Wenchen Fan (Jira)


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

Wenchen Fan reassigned SPARK-33509:
---

Assignee: Maxim Gekk

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



[jira] [Assigned] (SPARK-33509) List partition by names from V2 tables that support partition management

2020-11-21 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-33509:


Assignee: (was: 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
>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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-33509) List partition by names from V2 tables that support partition management

2020-11-21 Thread Apache Spark (Jira)


 [ 
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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org