Skip to content

Commit

Permalink
Cleanup dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jul 16, 2018
1 parent 97675ea commit db5318e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ibis/bigquery/datatypes.py
Expand Up @@ -50,8 +50,9 @@ def trans_integer(t, context):
return 'INT64'


@ibis_type_to_bigquery_type.register(dt.UInt64, TypeTranslationContext)
@ibis_type_to_bigquery_type.register(dt.UInt64, UDFContext)
@ibis_type_to_bigquery_type.register(
dt.UInt64, (TypeTranslationContext, UDFContext)
)
def trans_lossy_integer(t, context):
raise TypeError(
'Conversion from uint64 to BigQuery integer type (int64) is lossy'
Expand Down

0 comments on commit db5318e

Please sign in to comment.