beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chamikara Jayalath (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2817) Bigquery queries should allow options to run in batch mode or not
Date Tue, 31 Oct 2017 18:35:00 GMT

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

Chamikara Jayalath commented on BEAM-2817:
------------------------------------------

I don't think there's a need to use BigQueryOptions for this. It should be fine to take this
parameter as one of the options of the Read.Builder and pass it through from createSource
as you mentioned.

> Bigquery queries should allow options to run in batch mode or not
> -----------------------------------------------------------------
>
>                 Key: BEAM-2817
>                 URL: https://issues.apache.org/jira/browse/BEAM-2817
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-gcp
>    Affects Versions: 2.0.0
>            Reporter: Lara Schmidt
>            Assignee: Justin Tumale
>              Labels: newbie, starter
>
> When bigquery read does a query it sets the mode to batch. A batch query can be very
slow to schedule as it batches it with other queries. However it doesn't use batch quota which
is better for some cases. However, in some cases a fast query is better (especially in timed
tests). It would be a good idea to have a configuration to the bigquery source to set this
per-read.



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

Mime
View raw message