Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow null datetimes (NoneType) #18

Merged
merged 4 commits into from
Nov 19, 2020

Conversation

NiallRees
Copy link
Contributor

In all our BigQuery tables, timestamp columns are nullable. This was causing the tap to fail as a NoneType datetime field was raising this ValueError. This PR allows datetime fields to be None.

tap_bigquery/sync_bigquery.py Outdated Show resolved Hide resolved
tap_bigquery/sync_bigquery.py Outdated Show resolved Hide resolved
@NiallRees
Copy link
Contributor Author

Thanks for the reviews @daigotanaka

tap_bigquery/sync_bigquery.py Outdated Show resolved Hide resolved
@daigotanaka daigotanaka merged commit c23108e into anelendata:master Nov 19, 2020
@daigotanaka
Copy link
Collaborator

@NiallRees Thx! Great job!

@NiallRees NiallRees deleted the allow_null_dates branch November 25, 2020 23:18
@NiallRees NiallRees mentioned this pull request Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants