[ https://issues.apache.org/jira/browse/SPARK-15248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277826#comment-15277826 ]
Apache Spark commented on SPARK-15248: -------------------------------------- User 'tdas' has created a pull request for this issue: https://github.com/apache/spark/pull/13022 > 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