You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/12/08 15:09:00 UTC

[jira] [Commented] (AVRO-3680) [Python] Allow disabling naming validation for interoperability

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

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

Commit 012338f959c50f41bd41c7ad6ff8d26262985105 in avro's branch refs/heads/master from Jarkko Jaakola
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=012338f95 ]

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: 50m
>  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)