-
Notifications
You must be signed in to change notification settings - Fork 915
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 scalar months
in add_calendrical_months
, extends API to INT32 support
#8991
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.10 #8991 +/- ##
==============================================
Coverage ? 9.39%
==============================================
Files ? 115
Lines ? 24322
Branches ? 0
==============================================
Hits ? 2285
Misses ? 22037
Partials ? 0 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the java side this looks great. It is a really good step towards what we need.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just got a small comment and a question.
months
in add_calendrical_months
months
in add_calendrical_months
, extends API to INT32 support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc string needs to be updated, otherwise looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, except one problem that Jake has raised: Should we support all types of int?
Co-authored-by: Nghia Truong <[email protected]>
rerun tests |
@isVoid is this good to merge now? |
@galipremsagar I think so. Thanks for tracking! |
@gpucibot merge |
Closes #6990
This PR adds support for scalar
months
foradd_calendrical_months
API. The behavior is similar to the column version of the API, as if applying the month value from a single row of the months column to the input column. This PR also refactorsadd_calendrical_months_functor
to accept iterator basedmonths
argument.Closes #8865
Also adds support to
INT32
type for both column and scalar version of the API.