KalleOlaviNiemitalo commented on code in PR #1756:
URL: https://github.com/apache/avro/pull/1756#discussion_r916506878
##########
lang/py/avro/io.py:
##########
@@ -940,9 +931,7 @@ def skip_record(self, writers_schema:
avro.schema.RecordSchema, decoder: BinaryD
self.skip_data(field.type, decoder)
def _read_default_value(self, field_schema: avro.schema.Schema,
default_value: object) -> object:
- """
- Basically a JSON Decoder?
- """
+ """Basically a JSON Decoder?"""
Review Comment:
While looking at this, I found what appears to be a bug in
`_read_default_value`. Filed as [[AVRO-3572] Python encodes default value of
bytes field as UTF-8](https://issues.apache.org/jira/browse/AVRO-3572).
--
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]