Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-3829

Update Go SDK to use latest BQ version

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Not A Bug
    • None
    • Not applicable
    • sdk-go
    • None

    Description

      We should update BQ to the latest version, so that "go get" works cleanly:

      $ go get github.com/apache/beam/sdks/go/...

      1. 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            herohde Henning Rohde
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: