beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2532) BigQueryIO source should avoid expensive JSON schema parsing for every record
Date Tue, 18 Jul 2017 13:25:00 GMT

    [ https://issues.apache.org/jira/browse/BEAM-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16091542#comment-16091542
] 

ASF GitHub Bot commented on BEAM-2532:
--------------------------------------

GitHub user nevillelyh opened a pull request:

    https://github.com/apache/beam/pull/3584

    [BEAM-2532] add a Serializable TableSchema Supplier in BigQuerySourceBase

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nevillelyh/beam neville/BEAM-2532

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/3584.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3584
    
----
commit 8f884d31d949d8f62e787c3d6f67cd2c1b8bceab
Author: Neville Li <neville@spotify.com>
Date:   2017-07-18T13:07:21Z

    [BEAM-2532] add a Serializable TableSchema Supplier in BigQuerySourceBase

----


> BigQueryIO source should avoid expensive JSON schema parsing for every record
> -----------------------------------------------------------------------------
>
>                 Key: BEAM-2532
>                 URL: https://issues.apache.org/jira/browse/BEAM-2532
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-gcp
>    Affects Versions: 2.0.0
>            Reporter: Marian Dvorsky
>            Assignee: Chamikara Jayalath
>            Priority: Minor
>
> BigQueryIO source converts the schema from JSON for every input row, here:
> https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQuerySourceBase.java#L159
> This is the performance bottleneck in a simple pipeline with BigQueryIO source.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message