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

Add CastOptions to make GpuCast extendible to handle more options [databricks] #9285

Merged
merged 4 commits into from
Sep 23, 2023

Conversation

razajafri
Copy link
Collaborator

@razajafri razajafri commented Sep 21, 2023

This PR is addressing a problem where GpuCast is taking params as part of the doCast function but as we add more options as part of adding GpuToPrettyString the code gets messy

The cast_test tests pass for Spark 311 and Spark 340. No new tests were added as there is no new functionality added

fixes #9284

@razajafri razajafri self-assigned this Sep 21, 2023
Signed-off-by: Raza Jafri <[email protected]>
@andygrove andygrove self-requested a review September 21, 2023 22:01
@razajafri razajafri changed the title Add CastOptions to make GpuCast extendible to handle more options Add CastOptions to make GpuCast extendible to handle more options [databricks] Sep 21, 2023
@razajafri
Copy link
Collaborator Author

build

andygrove
andygrove previously approved these changes Sep 21, 2023
Copy link
Contributor

@andygrove andygrove left a comment

Choose a reason for hiding this comment

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

I had one question/suggestion, but LGTM.

revans2
revans2 previously approved these changes Sep 22, 2023
Copy link
Collaborator

@revans2 revans2 left a comment

Choose a reason for hiding this comment

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

Mostly some nits

@razajafri
Copy link
Collaborator Author

build

@razajafri razajafri merged commit 056c187 into NVIDIA:branch-23.10 Sep 23, 2023
@razajafri razajafri deleted the SP-9284-add-castoptions branch September 23, 2023 00:16
@sameerz sameerz added the task Work required that improves the product but is not user facing label Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Work required that improves the product but is not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Refactor GpuCast to take CastOptions
4 participants