You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Henning Rohde (JIRA)" <ji...@apache.org> on 2018/03/11 18:04:00 UTC

[jira] [Closed] (BEAM-3829) Update Go SDK to use latest BQ version

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

Henning Rohde closed BEAM-3829.
-------------------------------
       Resolution: Not A Bug
    Fix Version/s: Not applicable

My thought-to-be-clean workspace actually had an old version of BQ, which was the problem and so there is no bug.

> Update Go SDK to use latest BQ version
> --------------------------------------
>
>                 Key: BEAM-3829
>                 URL: https://issues.apache.org/jira/browse/BEAM-3829
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>            Reporter: Henning Rohde
>            Priority: Major
>             Fix For: Not applicable
>
>
> We should update BQ to the latest version, so that "go get" works cleanly:
> $ go get github.com/apache/beam/sdks/go/...
> # github.com/apache/beam/sdks/go/pkg/beam/io/bigqueryio
> ../../apache/beam/sdks/go/pkg/beam/io/bigqueryio/bigquery.go:120:3: q.UseLegacySQL undefined (type *"cloud.google.com/go/bigquery".Query has no field or method UseLegacySQL)
> ../../apache/beam/sdks/go/pkg/beam/io/bigqueryio/bigquery.go:204:61: cannot use "cloud.google.com/go/bigquery".TableMetadata literal (type *"cloud.google.com/go/bigquery".TableMetadata) as type "cloud.google.com/go/bigquery".CreateTableOption in argument to table.Create:
> 	*"cloud.google.com/go/bigquery".TableMetadata does not implement "cloud.google.com/go/bigquery".CreateTableOption (missing "cloud.google.com/go/bigquery".customizeCreateTable method)
> Edit: If we can't use legacy SQL, then our parsing of table name also needs to change.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)