beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning Rohde (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BEAM-3829) Update Go SDK to use latest BQ version
Date Sun, 11 Mar 2018 17:54:00 GMT

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

Henning Rohde updated BEAM-3829:
--------------------------------
    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.

  was:
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 need to change.


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

Mime
View raw message