[
https://issues.apache.org/jira/browse/BEAM-8910?focusedWorklogId=401832&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-401832
]
ASF GitHub Bot logged work on BEAM-8910:
----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Mar/20 22:27
Start Date: 11/Mar/20 22:27
Worklog Time Spent: 10m
Work Description: tvalentyn commented on issue #11086: [BEAM-8910] Make
custom BQ source read from Avro
URL: https://github.com/apache/beam/pull/11086#issuecomment-597911424
> * For bytes, AvroSource is currently returning base64 encoded bytes. I am
trying to figure out how to handle this. For py2, strings and bytes may not be
differentiable, so we may not be able to handle this properly...
Do you have a summary of Py2 vs Py3 x Current Behavior vs New behavior?
What is returned on Py3 - is it also base64 encoded bytes?
This is a prior discussion on Py3 migration issues in Bigquery:
https://lists.apache.org/thread.html/f35c836887014e059527ed1a806e730321e2f9726164a3030575f455%40%3Cdev.beam.apache.org%3E.
It took us some time to understand what was going on
(https://lists.apache.org/thread.html/0c2178cf8e5d9e77c4f233f05a0b87b6011a1daa1a5ae47b41463af5%40%3Cdev.beam.apache.org%3E)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 401832)
Time Spent: 1h 10m (was: 1h)
> Use AVRO instead of JSON in BigQuery bounded source.
> ----------------------------------------------------
>
> Key: BEAM-8910
> URL: https://issues.apache.org/jira/browse/BEAM-8910
> Project: Beam
> Issue Type: Improvement
> Components: sdk-py-core
> Reporter: Kamil Wasilewski
> Assignee: Pablo Estrada
> Priority: Minor
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> The proposed BigQuery bounded source in Python SDK (see PR:
> [https://github.com/apache/beam/pull/9772)] uses a BigQuery export job to
> take a snapshot of the table and read from each produced JSON file. A
> performance improvement can be gain by switching to AVRO instead.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)