You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Kousuke Saruta (Jira)" <ji...@apache.org> on 2023/08/19 20:21:00 UTC

[jira] [Created] (AVRO-3837) Disallow invalid namespace for the Rust binding

Kousuke Saruta created AVRO-3837:
------------------------------------

             Summary: Disallow invalid namespace for the Rust binding
                 Key: AVRO-3837
                 URL: https://issues.apache.org/jira/browse/AVRO-3837
             Project: Apache Avro
          Issue Type: Bug
          Components: rust
    Affects Versions: 1.12.0
            Reporter: Kousuke Saruta


The current Rust binding doesn't accept invalid namespaces if such namespaces are in name field.

{code}
{
  "name": "ns1.invalid-ns.record1",
  "type": "record"
  "fields": []
}
{code}

But if a invalid namespace in namespace field doesn't validate.

{code}
  "name": "record1",
  "namespace": "ns1.invalid-ns",
  "type": "record",
  "fields": []
}
{code}



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