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

Port kurtosis_pop UDAF #7

Merged
merged 3 commits into from
Sep 27, 2024

Conversation

dharanad
Copy link
Contributor

@dharanad dharanad commented Sep 27, 2024

Part of apache/datafusion#12625
Porting kurtosis_pop orginally authored by @goldmedal

Copy link
Collaborator

@demetribu demetribu left a comment

Choose a reason for hiding this comment

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

Thank you @dharanad

README.md Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
tests/main.rs Show resolved Hide resolved
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @dharanad and @dmitrybugakov


#[tokio::test]
async fn test_kurtosis_pop() {
let mut execution = TestExecution::new().await.unwrap().with_setup(TEST_TABLE).await;
Copy link
Contributor

Choose a reason for hiding this comment

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

There were additional tests too in apache/datafusion#12647

https://github.com/apache/datafusion/pull/12647/files#diff-a60d69cf923e18b0532e7ba3470c4b728e6b00230b3ea242f3fbe95e899c5ffeL5866

Maybe it is time to consider adding sqllogictest to this repo too 🤔 (not as part of this PR)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

+1 I was thinking the same. Plus it kind of hazzle to assert those table output snapshots.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would love to work on adding sqllogictest to this project

@dharanad @alamb

@demetribu
Copy link
Collaborator

lgtm
Thanks again @dharanad

@demetribu demetribu merged commit caac6fb into datafusion-contrib:main Sep 27, 2024
3 checks passed
@dharanad dharanad deleted the feat/kurtosis_pop branch September 27, 2024 11:45
@dharanad
Copy link
Contributor Author

Thank You @alamb & @dmitrybugakov for the review

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.

4 participants