[
https://issues.apache.org/jira/browse/BEAM-8910?focusedWorklogId=401820&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-401820
]
ASF GitHub Bot logged work on BEAM-8910:
----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Mar/20 22:04
Start Date: 11/Mar/20 22:04
Worklog Time Spent: 10m
Work Description: pabloem commented on issue #11086: [BEAM-8910] Make
custom BQ source read from Avro
URL: https://github.com/apache/beam/pull/11086#issuecomment-597900858
@chamikaramj @tvalentyn
Hey there, I'm working on this improvement. There's some interesting
outcomes here:
- For datetime types (date,time,datetime,timestamp), AvroSource returns
python types (datetime.date, datetime.time,datetime.datetime,
datetime.datetime) - along with timezone info. I feel that in this case, Python
types are the most desirable. Thoughts? _CustomBQSource is experimental, so I
wouldn't think it's subject to backwards compatibility concerns.
- 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...
----------------------------------------------------------------
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: 401820)
Time Spent: 50m (was: 40m)
> 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: 50m
> 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)