spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-25407) Spark throws a `ParquetDecodingException` when attempting to read a field from a complex type in certain cases of schema merging
Date Mon, 29 Oct 2018 19:20:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-25407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16667628#comment-16667628
] 

Apache Spark commented on SPARK-25407:
--------------------------------------

User 'mallman' has created a pull request for this issue:
https://github.com/apache/spark/pull/22880

> Spark throws a `ParquetDecodingException` when attempting to read a field from a complex
type in certain cases of schema merging
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-25407
>                 URL: https://issues.apache.org/jira/browse/SPARK-25407
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Michael Allman
>            Priority: Major
>
> Spark supports merging schemata across table partitions in which one partition is missing
a subfield that's present in another. However, attempting to select that missing field with
a query that includes a partition pruning predicate that filters out the partitions that include
that field results in a `ParquetDecodingException` when attempting to get the query results.
> This bug is specifically exercised by the failing (but ignored) test case [https://github.com/apache/spark/blob/f2d35427eedeacceb6edb8a51974a7e8bbb94bc2/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetSchemaPruningSuite.scala#L125-L131].



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


Mime
View raw message