Fix table length for bigquery storage.
This commit is contained in:
parent
e4c0b4838e
commit
a37b596a45
@ -73,7 +73,7 @@ const (
|
|||||||
|
|
||||||
// TODO(jnagal): Infer schema through reflection. (See bigquery/client/example)
|
// TODO(jnagal): Infer schema through reflection. (See bigquery/client/example)
|
||||||
func (self *bigqueryStorage) GetSchema() *bigquery.TableSchema {
|
func (self *bigqueryStorage) GetSchema() *bigquery.TableSchema {
|
||||||
fields := make([]*bigquery.TableFieldSchema, 18)
|
fields := make([]*bigquery.TableFieldSchema, 19)
|
||||||
i := 0
|
i := 0
|
||||||
fields[i] = &bigquery.TableFieldSchema{
|
fields[i] = &bigquery.TableFieldSchema{
|
||||||
Type: typeTimestamp,
|
Type: typeTimestamp,
|
||||||
|
Loading…
Reference in New Issue
Block a user