Skip to content

feat: add case function (#447)#448

Merged
alamb merged 1 commit into
apache:mainfrom
mesejo:feat/add-case-function
Aug 5, 2023
Merged

feat: add case function (#447)#448
alamb merged 1 commit into
apache:mainfrom
mesejo:feat/add-case-function

Conversation

@mesejo
Copy link
Copy Markdown
Contributor

@mesejo mesejo commented Aug 4, 2023

Which issue does this PR close?

Closes #447

What changes are included in this PR?

Besides exposing the case function, this PR also adds the PyCaseBuilder class (to parallel Rust's CaseBuilder)

Are there any user-facing changes?

Yes, but the documentation should be generated automatically

@alamb alamb requested a review from andygrove August 4, 2023 18:15
Copy link
Copy Markdown
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.

I don't know all that much about this code so I defer to @andygrove and @jdye64 but this looks good to me and is well tested

Thank you @mesejo

Copy link
Copy Markdown
Contributor

@jdye64 jdye64 left a comment

Choose a reason for hiding this comment

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

Just validated this as part of dask-sql as well. This PR looks really good to me! Thanks @mesejo for the contribution!

@alamb
Copy link
Copy Markdown
Contributor

alamb commented Aug 4, 2023

Looks like there is one failing CI check

@jdye64
Copy link
Copy Markdown
Contributor

jdye64 commented Aug 4, 2023

Yes, @mesejo there is a check-style test failing if you don't mind fixing. If not I can make the commit to resolve

@mesejo mesejo force-pushed the feat/add-case-function branch from b10b21b to 600ef93 Compare August 5, 2023 05:13
@mesejo
Copy link
Copy Markdown
Contributor Author

mesejo commented Aug 5, 2023

Thanks to both of you @alamb and @jdye64 for the review 🙏. The check-style test should be fixed now!

@alamb alamb merged commit 1fde8e4 into apache:main Aug 5, 2023
@alamb
Copy link
Copy Markdown
Contributor

alamb commented Aug 5, 2023

Thanks again @mesejo

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.

Add case function

3 participants