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

Handle NaNs for Floats and Float Arrays #1030

Merged
merged 3 commits into from
Jan 9, 2024
Merged

Conversation

Amogh-Bharadwaj
Copy link
Contributor

Same as #1027

@Amogh-Bharadwaj Amogh-Bharadwaj changed the base branch from main to customer-harp January 9, 2024 07:37
cleanedArr = append(cleanedArr, val)
} else {
slog.Warn("NaN or INF value found in float array - skipping",
slog.Any("array", convertFloatArrayToStringArray(floatArr)))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
cannot infer T (model/model.go:136:37) (typecheck)

cleanedArr = append(cleanedArr, val)
} else {
slog.Warn("NaN or INF value found in float array - skipping",
slog.Any("array", convertFloatArrayToStringArray(floatArr)))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
cannot infer T (model/model.go:136:37) (typecheck)

@Amogh-Bharadwaj Amogh-Bharadwaj merged commit 2a215a9 into customer-harp Jan 9, 2024
6 of 7 checks passed
@serprex serprex deleted the harp-bq-nans branch July 19, 2024 15:22
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.

1 participant