You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2020/11/05 04:29:00 UTC

[jira] [Resolved] (SPARK-33316) Support nullable Avro schemas for non-nullable data in Avro writing

     [ https://issues.apache.org/jira/browse/SPARK-33316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gengliang Wang resolved SPARK-33316.
------------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

Issue resolved by pull request 30224
[https://github.com/apache/spark/pull/30224]

> Support nullable Avro schemas for non-nullable data in Avro writing
> -------------------------------------------------------------------
>
>                 Key: SPARK-33316
>                 URL: https://issues.apache.org/jira/browse/SPARK-33316
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0, 3.0.0, 3.0.1
>            Reporter: Bo Zhang
>            Priority: Major
>             Fix For: 3.1.0
>
>
> Currently when users try to use nullable Avro schemas for non-nullable data in Avro writing, Spark will throw a IncompatibleSchemaException.
> There are some cases when users do not have full control over the nullability of the data, or the nullability of the Avro schemas they have to use. We should support nullable Avro schemas for non-nullable data in Avro writing for better usability.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org