googleapis / googleapis/google-cloud-go

bigquery: InferSchema fails on []bigquery.Nullstring

Open
#13,412 0 comments 0 reactions 0 assignees View on GitHub
api: bigquery triage me
Dominant language
Go
Stars
4.5k
Forks
1.6k
Avg merge
1d 13h
Merged PRs (30d)
109

Description

```
type t struct {

Foo string `bigquery:"foo"`
Bar []bigquery.NullString `bigquery:"bar"`

}

schema, e := bigquery.InferSchema(t{})
```

throws bigquery.unsupportedFieldTypeError

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.