You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2019/01/29 16:19:00 UTC

[jira] [Resolved] (SPARK-26765) Avro: Validate input and output schema

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

Wenchen Fan resolved SPARK-26765.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

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

> Avro: Validate input and output schema
> --------------------------------------
>
>                 Key: SPARK-26765
>                 URL: https://issues.apache.org/jira/browse/SPARK-26765
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> The API supportDataType in FileFormat helps to validate the output/input schema before exection starts. So that we can avoid some invalid data source IO, and users can see clean error messages.
> This PR is to override the validation API in Avro data source.
> Also, as per the spec of Avro(https://avro.apache.org/docs/1.8.2/spec.html), NullType is supported. This PR fixes the handling of NullType.



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