You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "muyihao (via GitHub)" <gi...@apache.org> on 2024/10/22 03:49:35 UTC

[I] How to support digit column name [avro-rs]

muyihao opened a new issue, #30:
URL: https://github.com/apache/avro-rs/issues/30

   Due to business requirements, we must use field names that start with a number. However, this violates Avro's naming conventions. Therefore, I am wondering if there is a way to work around this limitation. From an implementation perspective, would it be feasible to modify Avro's code to support field names that start with a number? If there are better solutions, please let me know.


-- 
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: issues-unsubscribe@avro.apache.org.apache.org

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


Re: [I] How to support digit column name [avro-rs]

Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g closed issue #30: How to support digit column name
URL: https://github.com/apache/avro-rs/issues/30


-- 
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: issues-unsubscribe@avro.apache.org

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


Re: [I] How to support digit column name [avro-rs]

Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on issue #30:
URL: https://github.com/apache/avro-rs/issues/30#issuecomment-2428420700

   You could use a custom [RecordFieldNameValidator](https://github.com/apache/avro-rs/blob/ebda68c12771d34f5827dae0664303b760457917/avro/src/validator.rs#L190-L224)
   
   - https://docs.rs/apache-avro/latest/apache_avro/#custom-names-validators
   - https://github.com/apache/avro-rs/blob/main/avro/README.md#custom-names-validators


-- 
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: issues-unsubscribe@avro.apache.org

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