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

Skip NaNs in Float Arrays #1027

Closed
wants to merge 2 commits into from
Closed

Conversation

Amogh-Bharadwaj
Copy link
Contributor

@Amogh-Bharadwaj Amogh-Bharadwaj commented Jan 9, 2024

  • json.Marshal cannot support NaN or INF values
  • BigQuery cannot support NULL values in arrays
  • Solution: Skip NaN values in float arrays we get

@heavycrystal
Copy link
Contributor

approving conditionally on #1028, users should be aware that we're pruning invalid values from their arrays

@heavycrystal heavycrystal marked this pull request as draft January 9, 2024 07:37
Amogh-Bharadwaj added a commit that referenced this pull request Jan 9, 2024
@serprex serprex deleted the datatypes/bq-nan-handle branch July 19, 2024 15:25
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.

2 participants