You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2022/10/12 13:56:00 UTC

[jira] [Created] (AVRO-3637) [python] Add validate_enum_defaults to schema parsing.

Ryan Skraba created AVRO-3637:
---------------------------------

             Summary: [python] Add validate_enum_defaults to schema parsing.
                 Key: AVRO-3637
                 URL: https://issues.apache.org/jira/browse/AVRO-3637
             Project: Apache Avro
          Issue Type: Bug
    Affects Versions: 1.11.1
            Reporter: Ryan Skraba
             Fix For: 1.11.2


AVRO-2174 fixed a bug where invalid enum symbols were permitted.  For backwards compatibility we added {{validate_enum_symbols=True}} [in this PR|https://github.com/apache/avro/pull/830/files#diff-206b4316aff1144af133de14f814399f776f1818ace77c035b60b98eb556bf5bR550].

AVRO-3299 fixed a bug where invaliid [enum defaults were permitted|https://github.com/kojiromike/avro/commit/28f54cb35af3fab56985b710892cf9469aa7022d] (badly named or an unknown symbol).   The same type of escape route should exist for this case (perhaps reusing validate_enum_symbols?)  



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