-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add t_cdf, t_distribution scalar functions #22507
Conversation
b2e95ae
to
1d50f38
Compare
The cumulative version should follow the other cumulative distribution functions (see https://trino.io/docs/current/functions/math.html#cumulative-distribution-functions):
Let me think about the probability density function form. Maybe |
core/trino-main/src/test/java/io/trino/operator/scalar/TestDistributionFunctions.java
Outdated
Show resolved
Hide resolved
Can you add these to the documentation? We keep the documentation in the same source tree so that we can update it when the functionality is added. |
@electrum done |
core/trino-main/src/main/java/io/trino/operator/scalar/MathFunctions.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/operator/scalar/MathFunctions.java
Outdated
Show resolved
Hide resolved
40b6b50
to
b2490e6
Compare
https://support.microsoft.com/en-us/office/t-dist-function-4329459f-ae91-48c2-bba8-1ead1c6c21b2