go-gorm / bigquery

BigQuery golang sql driver/GORM dialect
MIT License
42 stars 23 forks source link

Call the bigquery.RowIterator.Next() once before calling Schema. Thi… #8

Closed plindbe2 closed 2 years ago

plindbe2 commented 2 years ago

…s is

because the google bigquery client library has changed and now requires this.

What did this pull request do?

Fixes a bug with empty structs output. The google biquery client library RowIterator.Schema is empty until after the first call to Next so call Next once prior to Schema.

User Case Description

Running select queries