Skip to content

Commit a3348ed

Browse files
authored
Merge pull request #126 from ciaran-blewitt-webjet/master
Add support for long in schema_builder
2 parents b2e39e4 + 9db3071 commit a3348ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bigquery/schema_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def bigquery_type(o, timestamp_parser=default_timestamp_parser):
126126
"""
127127

128128
t = type(o)
129-
if t == int:
129+
if t in six.integer_types:
130130
return "integer"
131131
elif (t == six.binary_type and six.PY2) or t == six.text_type:
132132
if timestamp_parser and timestamp_parser(o):

0 commit comments

Comments
 (0)