iemejia commented on code in PR #3861: URL: https://github.com/apache/avro/pull/3861#discussion_r3570642275
########## lang/py/avro/io.py: ########## @@ -599,6 +665,97 @@ def write_timestamp_micros_long(self, datum: datetime.datetime) -> None: # # DatumReader/Writer # +#: Environment variable overriding the maximum number of zero-byte-encoded +#: collection elements (e.g. an array of nulls) to allocate from a single decode. +MAX_COLLECTION_ITEMS_ENV = "AVRO_MAX_COLLECTION_ITEMS" Review Comment: Fixed in 152b60b: the `MAX_COLLECTION_ITEMS_ENV` comment now states that `AVRO_MAX_COLLECTION_ITEMS` caps both the zero-byte-element limit and the structural limit, matching `_collection_limits()`. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
