You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Daniel Halperin (JIRA)" <ji...@apache.org> on 2017/02/01 01:45:52 UTC

[jira] [Resolved] (BEAM-1350) BigQueryIO does not honor SQL dialect or result flattening in DirectRunner

     [ 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)