Skip to content

Commit 0cce402

Browse files
authored
Merge pull request RealSelf#18 from dreamdata-io/handle-none-for-record
continue when record is none
2 parents d18206e + 5da2c78 commit 0cce402

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎target_bigquery/schema.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ def get_type(property):
3434

3535

3636
def filter(schema, record):
37+
if not record:
38+
return record
3739
field_type, _ = get_type(schema)
3840

3941
# return literals without checking

0 commit comments

Comments
 (0)