[
https://issues.apache.org/jira/browse/BEAM-5313?focusedWorklogId=188997&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-188997
]
ASF GitHub Bot logged work on BEAM-5313:
----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Jan/19 14:57
Start Date: 23/Jan/19 14:57
Worklog Time Spent: 10m
Work Description: robertwb commented on pull request #7583: [BEAM-5313]
Python 3 port examples package
URL: https://github.com/apache/beam/pull/7583#discussion_r250228609
##########
File path: sdks/python/apache_beam/examples/complete/tfidf_test.py
##########
@@ -85,8 +85,8 @@ def test_basics(self):
with open_shards(os.path.join(
temp_folder, 'result-*-of-*')) as result_file:
for line in result_file:
- match = re.search(EXPECTED_LINE_RE, line)
- logging.info('Result line: %s', line)
+ match = re.search(EXPECTED_LINE_RE, line.decode('utf-8'))
Review comment:
Should open_shards be changed to open as text (decoded) rather than adding
decodes everywhere? Or is it used on binary data?
----------------------------------------------------------------
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: 188997)
Time Spent: 1h 10m (was: 1h)
> Finish Python 3 porting for examples module
> -------------------------------------------
>
> Key: BEAM-5313
> URL: https://issues.apache.org/jira/browse/BEAM-5313
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-py-core
> Reporter: Robbe
> Assignee: Robbe
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)