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

Added TimeAdd #675

Merged
merged 2 commits into from
Sep 8, 2020
Merged

Added TimeAdd #675

merged 2 commits into from
Sep 8, 2020

Conversation

razajafri
Copy link
Collaborator

@razajafri razajafri commented Sep 5, 2020

Added GpuTimeAdd. Keep in mind just like GpuTimeSub, this only works on interval literals.

@tgravescs PTAL, I have reverted some of your changes, let me know if I have done that in err.

fixes #574

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@tgravescs
Copy link
Collaborator

build

Copy link
Collaborator

@tgravescs tgravescs left a comment

Choose a reason for hiding this comment

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

thanks Raza for jumping on this.

@@ -907,6 +907,28 @@ object GpuOverrides {
GpuDateDiff(lhs, rhs)
}
}),
expr[TimeAdd](
"Adds interval from timestamp",
Copy link
Collaborator

Choose a reason for hiding this comment

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

interval "to" timestamp

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@razajafri
Copy link
Collaborator Author

@tgravescs thanks for the review. I think I have addressed all your concerns. I have also added !574 in the description

Copy link
Collaborator

@tgravescs tgravescs left a comment

Choose a reason for hiding this comment

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

looks good, pending Jenkins

@tgravescs
Copy link
Collaborator

build

@razajafri razajafri merged commit 2a24a6e into NVIDIA:branch-0.2 Sep 8, 2020
@razajafri razajafri deleted the timeadd branch September 8, 2020 22:52
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
* Added TimeAdd

Signed-off-by: Raza Jafri <rjafri@nvidia.com>

* addressed review comments

Signed-off-by: Raza Jafri <rjafri@nvidia.com>

Co-authored-by: Raza Jafri <rjafri@nvidia.com>
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
* Added TimeAdd

Signed-off-by: Raza Jafri <rjafri@nvidia.com>

* addressed review comments

Signed-off-by: Raza Jafri <rjafri@nvidia.com>

Co-authored-by: Raza Jafri <rjafri@nvidia.com>
tgravescs pushed a commit to tgravescs/spark-rapids that referenced this pull request Nov 30, 2023
…IDIA#675)

Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>

Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Fix GpuTimeSub for Spark 3.1.0
3 participants