Skip to content

Commit

Permalink
fix for singer-io#48
Browse files Browse the repository at this point in the history
  • Loading branch information
parisholley authored Oct 21, 2021
1 parent 49878ec commit 5e5f956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_mongodb/sync_strategies/full_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def sync_collection(client, stream, state, projection):
rows_saved += 1

schema_build_start_time = time.time()
if common.row_to_schema(schema, row):
if 'schema' not in stream and common.row_to_schema(schema, row):
singer.write_message(singer.SchemaMessage(
stream=common.calculate_destination_stream_name(stream),
schema=schema,
Expand Down

0 comments on commit 5e5f956

Please sign in to comment.