Skip to content

Commit

Permalink
Merge pull request RealSelf#18 from dreamdata-io/handle-none-for-record
Browse files Browse the repository at this point in the history
continue when record is none
  • Loading branch information
JingLin0 authored Mar 9, 2020
2 parents d18206e + 5da2c78 commit 0cce402
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions target_bigquery/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def get_type(property):


def filter(schema, record):
if not record:
return record
field_type, _ = get_type(schema)

# return literals without checking
Expand Down

0 comments on commit 0cce402

Please sign in to comment.