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

Filter out invalid BigQuery timestamps #1256

Merged
merged 6 commits into from
Feb 14, 2024

Conversation

Amogh-Bharadwaj
Copy link
Contributor

@Amogh-Bharadwaj Amogh-Bharadwaj commented Feb 12, 2024

Fixes #1254
Adds a test for it in QRep

Also we are nulling out and logging values of time/timestamps which cannot be scanned by pgx (time.Time). An example is a year with more than 4 digits

@Amogh-Bharadwaj Amogh-Bharadwaj force-pushed the bigquery/filter-invalid-timestamps branch from 3496c1c to 882194b Compare February 14, 2024 15:00
serprex
serprex previously approved these changes Feb 14, 2024
@serprex serprex dismissed their stale review February 14, 2024 15:14

more feedback

@Amogh-Bharadwaj
Copy link
Contributor Author

updated description

@Amogh-Bharadwaj Amogh-Bharadwaj merged commit cc61dfb into main Feb 14, 2024
7 checks passed
@Amogh-Bharadwaj Amogh-Bharadwaj deleted the bigquery/filter-invalid-timestamps branch February 14, 2024 15:44
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.

BigQuery Timestamp: Don't accept values less than 0 AD and more than 9999AD
2 participants