[jira] [Updated] (AVRO-3830) Handle namespace properly if a name starts with dot
[ https://issues.apache.org/jira/browse/AVRO-3830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fokko Driesprong updated AVRO-3830: --- Component/s: rust > Handle namespace properly if a name starts with dot > --- > > Key: AVRO-3830 > URL: https://issues.apache.org/jira/browse/AVRO-3830 > Project: Apache Avro > Issue Type: Bug > Components: rust >Affects Versions: 1.12.0 >Reporter: Kousuke Saruta >Assignee: Kousuke Saruta >Priority: Major > Labels: pull-request-available > Fix For: 1.12.0, 1.11.3 > > Time Spent: 0.5h > Remaining Estimate: 0h > > The specification says about the name and namespace like as follows. > ??The empty string may also be used as a namespace to indicate the null > namespace?? > ??If the name specified contains a dot, then it is assumed to be a fullname, > and any namespace also specified is ignored?? > According to this specification, if a name in a name field starts with a dot, > it's considered that the namespace is null and the corresponding namespace > field should be ignored. > For example, given the following schema. > {code} > { > "name": ".record1", > "namespace": "ns1", > "type": "record", > "fields": [] > } > {code} > The name and namespace should be "record1" and null respectively. > But the namespace is considered as "ns1" in the current Rust binding . -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (AVRO-3830) Handle namespace properly if a name starts with dot
[ https://issues.apache.org/jira/browse/AVRO-3830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated AVRO-3830: - Labels: pull-request-available (was: ) > Handle namespace properly if a name starts with dot > --- > > Key: AVRO-3830 > URL: https://issues.apache.org/jira/browse/AVRO-3830 > Project: Apache Avro > Issue Type: Bug >Affects Versions: 1.12.0 >Reporter: Kousuke Saruta >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > The specification says about the name and namespace like as follows. > ??The empty string may also be used as a namespace to indicate the null > namespace?? > ??If the name specified contains a dot, then it is assumed to be a fullname, > and any namespace also specified is ignored?? > According to this specification, if a name in a name field starts with a dot, > it's considered that the namespace is null and the corresponding namespace > field should be ignored. > For example, given the following schema. > {code} > { > "name": ".record1", > "namespace": "ns1", > "type": "record", > "fields": [] > } > {code} > The name and namespace should be "record1" and null respectively. > But the namespace is considered as "ns1" in the current Rust binding . -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (AVRO-3830) Handle namespace properly if a name starts with dot
[ https://issues.apache.org/jira/browse/AVRO-3830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kousuke Saruta updated AVRO-3830: - Summary: Handle namespace properly if a name starts with dot (was: Handle namespace property if a name starts with dot) > Handle namespace properly if a name starts with dot > --- > > Key: AVRO-3830 > URL: https://issues.apache.org/jira/browse/AVRO-3830 > Project: Apache Avro > Issue Type: Bug >Affects Versions: 1.12.0 >Reporter: Kousuke Saruta >Priority: Major > > The specification says about the name and namespace like as follows. > ??The empty string may also be used as a namespace to indicate the null > namespace?? > ??If the name specified contains a dot, then it is assumed to be a fullname, > and any namespace also specified is ignored?? > According to this specification, if a name in a name field starts with a dot, > it's considered that the namespace is null and the corresponding namespace > field should be ignored. > For example, given the following schema. > {code} > { > "name": ".record1", > "namespace": "ns1", > "type": "record", > "fields": [] > } > {code} > The name and namespace should be "record1" and null respectively. > But the namespace is considered as "ns1" in the current Rust binding . -- This message was sent by Atlassian Jira (v8.20.10#820010)