beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Halperin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BEAM-1350) BigQueryIO does not honor SQL dialect or result flattening in DirectRunner
Date Wed, 01 Feb 2017 01:45:52 GMT

     [ https://issues.apache.org/jira/browse/BEAM-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Halperin resolved BEAM-1350.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.6.0

> BigQueryIO does not honor SQL dialect or result flattening in DirectRunner
> --------------------------------------------------------------------------
>
>                 Key: BEAM-1350
>                 URL: https://issues.apache.org/jira/browse/BEAM-1350
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-gcp
>            Reporter: Daniel Halperin
>            Assignee: Daniel Halperin
>             Fix For: 0.6.0
>
>
> {{BigQueryTableRowIterator}} is used when reading on some runners that do not perform
initial splitting. It has a bug in that it did not propagate configuration correctly, by ignoring
{{useLegacySQL}} and {{flattenResults}} flags.
> https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryTableRowIterator.java#L395
> vs
> https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java#L1148
> This can cause failures on some runners, possibly including the {{DirectRunner}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message