You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/05/10 08:58:13 UTC

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

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