Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Not A Bug
-
None
-
None
Description
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.