Skip to content

Commit

Permalink
fix inf support
Browse files Browse the repository at this point in the history
  • Loading branch information
sehnem committed Jul 15, 2022
1 parent 8b9f6f0 commit 26fb26b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name="target-bigquery",
version="0.11.2",
version="0.11.3",
description="Singer.io target for writing data to Google BigQuery",
author="Adswerve",
url="https://github.com/adswerve/target-bigquery",
Expand Down
2 changes: 1 addition & 1 deletion target_bigquery/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def build_schema(schema, key_properties=None, add_metadata=True, force_fields={}


def numeric_converter(value):
if "inf" in value:
if "inf" in str(value):
return value
else:
return float(value)
Expand Down

0 comments on commit 26fb26b

Please sign in to comment.