[
https://issues.apache.org/jira/browse/AVRO-3252?focusedWorklogId=688607&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-688607
]
ASF GitHub Bot logged work on AVRO-3252:
----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Dec/21 11:57
Start Date: 01/Dec/21 11:57
Worklog Time Spent: 10m
Work Description: ter0 commented on pull request #1406:
URL: https://github.com/apache/avro/pull/1406#issuecomment-983569447
Is there anything else I need to do to get this merged? The workflows are
blocked with `First-time contributors need a maintainer to approve running
workflows.`.
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 688607)
Time Spent: 0.5h (was: 20m)
> datafile reader fails with BytesIO stream on version 1.11
> ---------------------------------------------------------
>
> Key: AVRO-3252
> URL: https://issues.apache.org/jira/browse/AVRO-3252
> Project: Apache Avro
> Issue Type: Bug
> Components: python
> Environment: Windows and Linux
> Python 3.6 to 3.9
> avro==1.11.0
> Reporter: Florenz Hollebrandse
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {code}
> >>> import io
> >>> import avro.datafile
> >>> import avro.io
> >>> data = io.BytesIO()
> >>> datum_reader = avro.io.DatumReader()
> >>> avro.datafile.DataFileReader(data, datum_reader)
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "I:\tmpenv\lib\site-packages\avro\datafile.py", line 318, in __init__
> if "b" not in reader.mode:
> AttributeError: '_io.BytesIO' object has no attribute 'mode'
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)