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

Apache Spark commented on SPARK-26765:
--------------------------------------

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

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to