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

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

Commit 0c9a60eba295adf9b92f785f204b5b2875ef5ac5 in avro's branch 
refs/heads/dependabot/maven/lang/java/grpc.version-1.37.0 from Subhash Bhushan
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=0c9a60e ]

AVRO-3065: Introduce UUID logical type to Python implementation (#1148)

* AVRO-3065 Introduce UUID logical type to Python implementation

This PR introduces the UUID logical type implementation that was missing in the
primary python implementation. A new `UUIDSchema` has been introduced, and test
cases for schema and io have been updated.

Closes: https://issues.apache.org/jira/browse/AVRO-3065

* Fix lint issue in schema.py

* AVRO-3065 Accept UUID values of different versions

This commit changes UUID validation to accept UUID values of any
version, instead of being locked to version 4.

Also, return `None` on failed validation instead of `False`, for
consistency with others.

> Add support for uuid logical type to Python implementation
> ----------------------------------------------------------
>
>                 Key: AVRO-3065
>                 URL: https://issues.apache.org/jira/browse/AVRO-3065
>             Project: Apache Avro
>          Issue Type: New Feature
>          Components: python
>    Affects Versions: 1.10.1
>            Reporter: Spencer Nelson
>            Assignee: Subhash Bhushan
>            Priority: Minor
>             Fix For: 1.11.0
>
>
> The new UUID logical type (added in AVRO-2021) does not appear to currently 
> be supported in Python.
>  
> Using the standard library's uuid module makes this pretty easy.



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

Reply via email to