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

2018-03-11 Thread Henning Rohde (JIRA)

[ 
https://issues.apache.org/jira/browse/BEAM-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394588#comment-16394588
 ] 

Henning Rohde edited comment on BEAM-3829 at 3/11/18 6:03 PM:
--

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


was (Author: herohde):
My thought-to-be-clean workspace actually had an old version of BQ, which was 
the problem and so there is no bug. go get run cleanly

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


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

2018-03-11 Thread Henning Rohde (JIRA)

[ 
https://issues.apache.org/jira/browse/BEAM-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394588#comment-16394588
 ] 

Henning Rohde edited comment on BEAM-3829 at 3/11/18 6:03 PM:
--

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


was (Author: herohde):
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)