[
https://issues.apache.org/jira/browse/BEAM-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847845#comment-15847845
]
ASF GitHub Bot commented on BEAM-1350:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/beam/pull/1873
> 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
>
> {{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)