-
Notifications
You must be signed in to change notification settings - Fork 111
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
Fix: 400 bad request error after loading Parquet with inf values #4601
Comments
@begelundmuller just a nudge so we don't miss it for this sprint. |
or we can skip those values
|
If the function doesn't support infinity, I guess ideally we return |
I think std dev should not work with Infinity values (the same way a division shoudn't work with zeros), those values usually filtered out. |
How about we add additional field here so that UI can decide how to indicate it:
|
btw, Clickhouse reports 0 for such column, and Pandas reports NaN. I prefer to rely on Pandas in statistics as it was used for statistical methods long before Clickhouse, meaning we shoudn't skip Infinity but should report incorrect values. |
Describe the bug
After loading a Parquet data files with
inf
values I get 400 bad request errors when trying to make a model or dashboard.To Reproduce
Create a Parquet file that has some
inf
values e.g. like this:Load it with rill
Open browser dev tools and see the error.
Expected behavior
rill should be able to handle data with
inf
values.Screenshots
Desktop (please complete the following information):
rill version 0.42.3 (build commit: cd0501f date: 2024-04-01T13:39:29Z)
Chrome Version 123.0.6312.59 (Official Build) (arm64)
The text was updated successfully, but these errors were encountered: