BigQuery: Storage Write does not support protobuf's oneof. #5665
Labels
api: bigquery
Issues related to the BigQuery API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
status: blocked
Resolving the issue is dependent on other work.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Client
BigQuery Storage API
Environment
macOS Big Sur Intel
Go Environment
$go version go1.17.5 darwin/amd64
$ go env
GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/jamiller/Library/Caches/go-build" GOENV="/Users/jamiller/Library/Application Support/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/jamiller/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/jamiller/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/Cellar/go/1.17.5/libexec" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/Cellar/go/1.17.5/libexec/pkg/tool/darwin_amd64" GOVCS="" GOVERSION="go1.17.5" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/Users/jamiller/Work/bq_storage_api_bug/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/55/zfv_sh9n27x4w6455vtxzs4m0000gp/T/go-build3105813587=/tmp/go-build -gno-record-gcc-switches -fno-common"
Code
Proto file
BQ Table DDL
CREATE TABLE `example.agent_params` ( key STRING, int_value INT64, double_value FLOAT64, bool_value BOOL, string_value STRING );
Expected behavior
Record appears in the BQ table
Actual behavior
I get the following rpc errors
The text was updated successfully, but these errors were encountered: