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

Add t_cdf, t_distribution scalar functions #22507

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Add t_cdf, t_distribution scalar functions #22507

merged 1 commit into from
Jun 27, 2024

Conversation

wendigo
Copy link
Contributor

@wendigo wendigo commented Jun 26, 2024

@cla-bot cla-bot bot added the cla-signed label Jun 26, 2024
@wendigo wendigo requested a review from martint June 26, 2024 10:17
@wendigo wendigo force-pushed the serafin/t-dist branch 2 times, most recently from b2e95ae to 1d50f38 Compare June 26, 2024 14:53
@martint
Copy link
Member

martint commented Jun 26, 2024

The cumulative version should follow the other cumulative distribution functions (see https://trino.io/docs/current/functions/math.html#cumulative-distribution-functions):

t_cdf(x, df)

Let me think about the probability density function form. Maybe t_pdf or t_distribution.

@wendigo wendigo requested a review from martint June 26, 2024 15:56
@wendigo wendigo changed the title Add T_DIST scalar function Add t_cdf, t_distribution scalar functions Jun 26, 2024
@wendigo wendigo requested review from findepi and losipiuk June 26, 2024 17:46
@electrum
Copy link
Member

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.

@wendigo
Copy link
Contributor Author

wendigo commented Jun 26, 2024

@electrum done

@wendigo wendigo force-pushed the serafin/t-dist branch 2 times, most recently from 40b6b50 to b2490e6 Compare June 27, 2024 11:35
@wendigo wendigo merged commit fd675b9 into master Jun 27, 2024
104 of 107 checks passed
@wendigo wendigo deleted the serafin/t-dist branch June 27, 2024 14:44
@github-actions github-actions bot added this to the 451 milestone Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants