[ 
https://issues.apache.org/jira/browse/BEAM-5315?focusedWorklogId=162635&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-162635
 ]

ASF GitHub Bot logged work on BEAM-5315:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Nov/18 18:02
            Start Date: 05/Nov/18 18:02
    Worklog Time Spent: 10m 
      Work Description: tvalentyn commented on a change in pull request #6925: 
[BEAM-5315] Partially port IO: avro schema parsing and codecs
URL: https://github.com/apache/beam/pull/6925#discussion_r230851836
 
 

 ##########
 File path: sdks/python/apache_beam/examples/avro_bitcoin.py
 ##########
 @@ -38,7 +38,9 @@
 
 # pylint: disable=wrong-import-order, wrong-import-position
 try:
-  from avro.schema import Parse # avro-python3 library for python3
+  from avro.schema import Parse as avro_parser # avro-python3 library for 
python3
+  Parse = lambda x: avro_parser(x.decode("utf-8")) \
 
 Review comment:
   We tried to address comparing types in 
https://github.com/apache/beam/pull/6602, but had to roll it back due to 
https://issues.apache.org/jira/browse/BEAM-5744. Could you take a look at 
https://issues.apache.org/jira/browse/BEAM-5744? If we fix that, I think we 
could move forward with https://github.com/apache/beam/pull/6602. See also: 
https://issues.apache.org/jira/browse/BEAM-5621?focusedCommentId=16649857&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16649857

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 162635)
    Time Spent: 5h 40m  (was: 5.5h)

> Finish Python 3 porting for io module
> -------------------------------------
>
>                 Key: BEAM-5315
>                 URL: https://issues.apache.org/jira/browse/BEAM-5315
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Robbe
>            Assignee: Simon
>            Priority: Major
>          Time Spent: 5h 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to