-
Notifications
You must be signed in to change notification settings - Fork 228
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
Support for statistical aggregate functions #532
Comments
That sounds great - any translations to SQL we can add improve the provider. However, I'm not sure Math.NET is the right way to go here. The functions are both are pure calculations, providing as a result simple numbers. It would be easy to simply add them to The real value of plugins in the case of NodaTime and NTS is that they provide access to actual types that can be written and read from the database (and then used further client-side in the application). In this case. No such thing exists here - just a bunch of math functions to be translated. Another argument against Math.NET here is that it's likely to contain many more functions beyond what PostgreSQL can provide (I'm assuming), so the provider will only be able to translate a subset of them, which would be a bit confusing and not very good for discoverability.
If users want to use any functionality client-side, they can do so without any sort of support from the provider (that's the point of client-side evaluation :)). |
* string_agg (string.Join) * array_agg * json_agg/jsonb_agg * json_object_agg/jsonb_object_agg * range_agg, range_intersect_agg * Aggregate statistics functions Closes npgsql#532
* string_agg (string.Join) * array_agg * json_agg/jsonb_agg * json_object_agg/jsonb_object_agg * range_agg, range_intersect_agg * Aggregate statistics functions Closes npgsql#2395 Closes npgsql#532
* string_agg (string.Join) * array_agg * json_agg/jsonb_agg * json_object_agg/jsonb_object_agg * range_agg, range_intersect_agg * Aggregate statistics functions Closes npgsql#2395 Closes npgsql#532
* string_agg (string.Join) * array_agg * json_agg/jsonb_agg * json_object_agg/jsonb_object_agg * range_agg, range_intersect_agg * Aggregate statistics functions Closes npgsql#2395 Closes npgsql#532
* string_agg (string.Join) * array_agg * json_agg/jsonb_agg * json_object_agg/jsonb_object_agg * range_agg, range_intersect_agg * Aggregate statistics functions Closes npgsql#2395 Closes npgsql#532
PostgreSQL supports a number of statistical aggregate functions that could be mapped to provider-specific extensions as in #323 and #407.
The text was updated successfully, but these errors were encountered: