[jira] [Assigned] (SPARK-15248) Partition added with ALTER TABLE to a hive partitioned table is not read while querying

2016-05-10 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-15248:


Assignee: Tathagata Das  (was: Apache Spark)

> Partition added with ALTER TABLE to a hive partitioned table is not read 
> while querying
> ---
>
> Key: SPARK-15248
> URL: https://issues.apache.org/jira/browse/SPARK-15248
> Project: Spark
>  Issue Type: Bug
>  Components: SQL
>Reporter: Tathagata Das
>Assignee: Tathagata Das
>
> Table partitions can be added with locations different from default warehouse 
> location of a hive table. 
> {{CREATE TABLE parquetTable (a int) PARTITIONED BY (b int) STORED AS 
> parquet}} 
> {{ALTER TABLE parquetTable ADD PARTITION (b=1) LOCATION '/path/1'}}
> Querying such a table throws error as the MetastoreFileCatalog does not list 
> the added partition directory, it only lists the default base location. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-15248) Partition added with ALTER TABLE to a hive partitioned table is not read while querying

2016-05-10 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-15248:


Assignee: Apache Spark  (was: Tathagata Das)

> Partition added with ALTER TABLE to a hive partitioned table is not read 
> while querying
> ---
>
> Key: SPARK-15248
> URL: https://issues.apache.org/jira/browse/SPARK-15248
> Project: Spark
>  Issue Type: Bug
>  Components: SQL
>Reporter: Tathagata Das
>Assignee: Apache Spark
>
> Table partitions can be added with locations different from default warehouse 
> location of a hive table. 
> {{CREATE TABLE parquetTable (a int) PARTITIONED BY (b int) STORED AS 
> parquet}} 
> {{ALTER TABLE parquetTable ADD PARTITION (b=1) LOCATION '/path/1'}}
> Querying such a table throws error as the MetastoreFileCatalog does not list 
> the added partition directory, it only lists the default base location. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org