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

ASF subversion and git services commented on AVRO-3680:
-------------------------------------------------------

Commit 99b682b7d5409df4ee10dd88f89bc04b9d7492c8 in avro's branch 
refs/heads/branch-1.11 from Jarkko Jaakola
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=99b682b7d ]

AVRO-3680: [Python] allow to disable name validation (#1995)

For interoperability the Python parsing API allows disabling the
name validation. It is possible to create schema with names having
e.g. dashes from Java SDK. The Python name validation is stricter
and follows the Avro specification.

> [Python] Allow disabling naming validation for interoperability
> ---------------------------------------------------------------
>
>                 Key: AVRO-3680
>                 URL: https://issues.apache.org/jira/browse/AVRO-3680
>             Project: Apache Avro
>          Issue Type: New Feature
>          Components: python
>            Reporter: Ryan Skraba
>            Assignee: Jarkko Jaakola
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.2
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> The Java SDK accepts some Avro names that are not valid according to the 
> specification, or compatible with other SDKs.  There is an [ongoing 
> discussion|https://lists.apache.org/thread/39v98os6wdpyr6w31xdkz0yzol51fsrr] 
> about the "right" thing to do.
> Currently, schemas that meet the specification rules are guaranteed to be 
> interoperable. 
> When parsing schemas that might not be interoperable (but still might work 
> under certain circumstances), the Python SDK should provide a way to disable 
> name validation, like it provides a way to disable symbol [name 
> validation|https://github.com/apache/avro/blob/34845fd49af9cd00e98f5930c6ac6190da5ea6a3/lang/py/avro/schema.py#L1194].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to