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 2018/07/30 14:31:00 UTC
[jira] [Assigned] (SPARK-24965) Spark SQL fails when reading a
partitioned hive table with different formats per partition
[ https://issues.apache.org/jira/browse/SPARK-24965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-24965:
------------------------------------
Assignee: (was: Apache Spark)
> Spark SQL fails when reading a partitioned hive table with different formats per partition
> ------------------------------------------------------------------------------------------
>
> Key: SPARK-24965
> URL: https://issues.apache.org/jira/browse/SPARK-24965
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.3.1
> Reporter: Kris Geusebroek
> Priority: Major
> Labels: pull-request-available
>
> When a hive parquet partitioned table contains a partition with a different format (avro for example) the select * fails with a read exception (avro file is not a parquet file)
> Selecting in hive acts as expected.
> To support this a new sql syntax needed to be supported also:
> * ALTER TABLE <tbl> <partiitonspec?> SET FILEFORMAT <format>
> This is included in the same PR since the unittest needs this to setup the testdata.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org