You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Stephen Dotz (Jira)" <ji...@apache.org> on 2020/02/02 19:40:00 UTC
[jira] [Updated] (BEAM-9243) bigqueryio for Go is doesn't support
standard SQL
[ https://issues.apache.org/jira/browse/BEAM-9243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Dotz updated BEAM-9243:
-------------------------------
Summary: bigqueryio for Go is doesn't support standard SQL (was: bigqueryio for Go is hardcoded to use legacy SQL)
> bigqueryio for Go is doesn't support standard SQL
> -------------------------------------------------
>
> Key: BEAM-9243
> URL: https://issues.apache.org/jira/browse/BEAM-9243
> Project: Beam
> Issue Type: Improvement
> Components: io-go-gcp
> Affects Versions: 2.18.0
> Reporter: Stephen Dotz
> Priority: Minor
>
> It appears that bigqueryio for Go is hardcoded to use legacy SQL, with no way to use standard SQL. The BQ API will still reject the request if you use the #stardardSQL comment/flag in the query since the sql version is set explicitly in the API call.
>
> [https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/io/bigqueryio/bigquery.go#L127]
>
> Seems like we can pass an options param into the Query function to provide this setting among others. I will take a look at doing this. LMK if there is another stylistic approach to consider.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)