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

Update java datetime APIs to match CUDF. #17329

Merged
merged 5 commits into from
Nov 15, 2024

Conversation

revans2
Copy link
Contributor

@revans2 revans2 commented Nov 14, 2024

Description

This updates the java APIs related to datetime processing so that they match the CUDF APIs.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
@revans2 revans2 added 3 - Ready for Review Ready for review by team Java Affects Java cuDF API. Spark Functionality that helps Spark RAPIDS improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Nov 14, 2024
@revans2 revans2 self-assigned this Nov 14, 2024
@revans2 revans2 requested a review from a team as a code owner November 14, 2024 21:37
Copy link
Contributor

@mythrocks mythrocks left a comment

Choose a reason for hiding this comment

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

I'm :+1, barring the changes suggested by @jlowe.

Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
@revans2
Copy link
Contributor Author

revans2 commented Nov 14, 2024

/merge

@@ -1045,6 +1048,16 @@ public final ColumnVector addCalendricalMonths(ColumnView months) {
return new ColumnVector(addCalendricalMonths(getNativeView(), months.getNativeView()));
}

/**
* Add the specified number of months to the timestamp.
* @param months must be a INT16 scalar indicating the number of months to add. A negative number
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* @param months must be a INT16 scalar indicating the number of months to add. A negative number
* @param months must be an INT16 scalar indicating the number of months to add. A negative number

@rapids-bot rapids-bot bot merged commit 8a9131a into rapidsai:branch-24.12 Nov 15, 2024
86 checks passed
@revans2 revans2 deleted the java_time_apis branch November 15, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team improvement Improvement / enhancement to an existing function Java Affects Java cuDF API. non-breaking Non-breaking change Spark Functionality that helps Spark RAPIDS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants