sarutak opened a new pull request, #2570:
URL: https://github.com/apache/avro/pull/2570

   AVRO-3897
   
   ## What is the purpose of the change
   This change aims to fix an issue that the current Rust SDK accidentally 
allows invalid namespace in fully qualified name with `Name::new()`.
   
   The following usages of `Name:::new()` should return a kind of `Err` but 
actually return `Ok`.
   ```
   Name::new("ns.0.record1");
   Name::new("ns..record1");
   ```
   The root cause is that the regex `SCHEMA_NAME_R` is not correct.
   So this PR fixes the regex.
   
   ## Verifying this change
   New tests are added.
   
   ## Documentation
   
   - Does this pull request introduce a new feature? (no)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to