Fix table length for bigquery storage.

This commit is contained in:
Rohit Jnagal 2015-03-24 18:18:42 +00:00
parent e4c0b4838e
commit a37b596a45

View File

@ -73,7 +73,7 @@ const (
// TODO(jnagal): Infer schema through reflection. (See bigquery/client/example)
func (self *bigqueryStorage) GetSchema() *bigquery.TableSchema {
fields := make([]*bigquery.TableFieldSchema, 18)
fields := make([]*bigquery.TableFieldSchema, 19)
i := 0
fields[i] = &bigquery.TableFieldSchema{
Type: typeTimestamp,