[
https://issues.apache.org/jira/browse/SPARK-10448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Armbrust updated SPARK-10448:
-------------------------------------
Target Version/s: 1.6.0 (was: 1.6.0, 1.5.1)
> Parquet schema merging should NOT merge UDT
> -------------------------------------------
>
> Key: SPARK-10448
> URL: https://issues.apache.org/jira/browse/SPARK-10448
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.3.1, 1.4.1, 1.5.0
> Reporter: Cheng Lian
>
> For example, we may have a UDT {{U}} that maps to a Catalyst {{StructType}}
> with two fields {{a}} and {{b}}. Later on, we updated {{U}} to {{U'}} by
> removing {{a}} and adding {{c}}. In this case, Parquet schema merging will
> give a {{StructType}} with all three fields. But such a {{StructType}} can be
> mapped to neither {{U}} nor {{U'}}.
> We probably shouldn't allow schema merging over UDT types.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]