googleapis / googleapis/google-cloud-go
bigquery: handle sql.NullXXX like bigquery.NullXXX
Open
api: bigquery
type: feature request
- Dominant language
- Go
- Stars
- 4.5k
- Forks
- 1.6k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 109
Description
I need to load from postgres and insert into bigquery
Currently, I have to create two structs: one for postgres with sql.NullXXX types and another one with their bigquery.NullXXX equivalent, with conversion between the 2 structs.
I'd like to create only one struct.
This could be possible if the insert function handled sql.NullXXX type like bigquery.NullXXX.
Contributor guide
Assessment
This issue has not been assessed yet.