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

Fix unreachable code warnings in GpuCast #3228

Merged
merged 1 commit into from
Aug 13, 2021

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Aug 13, 2021

After #3162 the build emits an unreachable code warning:

[WARNING] [Warn] /spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuCast.scala:482: unreachable code

This removes a few of the match cases that will never be reached to resolve the build warning.

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe added the build Related to CI / CD or cleanly building label Aug 13, 2021
@jlowe jlowe added this to the Aug 2 - Aug 13 milestone Aug 13, 2021
@jlowe jlowe self-assigned this Aug 13, 2021
@jlowe
Copy link
Member Author

jlowe commented Aug 13, 2021

build

@jlowe
Copy link
Member Author

jlowe commented Aug 13, 2021

premerge CI seemed to fail before it even started. Kicking again.

@jlowe
Copy link
Member Author

jlowe commented Aug 13, 2021

build

@jlowe jlowe merged commit 25e29ff into NVIDIA:branch-21.10 Aug 13, 2021
@jlowe jlowe deleted the fix-warning branch August 13, 2021 21:25
@pxLi
Copy link
Collaborator

pxLi commented Aug 16, 2021

Couldn't find any revision to build. Verify the repository and branch configuration for this job.

Looks like git failed to fetch the merged PR from github, could be github inconsistent issue (data sync up delay)

razajafri pushed a commit to razajafri/spark-rapids that referenced this pull request Aug 23, 2021
Signed-off-by: Jason Lowe <jlowe@nvidia.com>
Signed-off-by: Raza Jafri <rjafri@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to CI / CD or cleanly building
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants