-
Notifications
You must be signed in to change notification settings - Fork 232
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
Refactor to stop inheriting from HashJoin #1321
Conversation
build |
@@ -1,5 +1,5 @@ | |||
/* | |||
* Copyright (c) 2019-2020, NVIDIA CORPORATION. | |||
* Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. |
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.
Github is seeing this as a file move but I actually manually created this new file.
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.
git looks for diffs and tries to guess what was a move and what was not.
Overall it looks good and I love that we deleted 700 lines of uneeded code. |
Signed-off-by: Andy Grove <andygrove@nvidia.com>
43855e5
to
dd8c6b6
Compare
build |
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.
Just one nit. I am OK if we merge this as is.
@@ -27,8 +27,9 @@ import org.apache.spark.sql.catalyst.optimizer.{BuildLeft, BuildRight, BuildSide | |||
import org.apache.spark.sql.catalyst.plans.JoinType | |||
import org.apache.spark.sql.catalyst.plans.physical.{Distribution, HashClusteredDistribution} | |||
import org.apache.spark.sql.execution.{BinaryExecNode, SparkPlan} | |||
import org.apache.spark.sql.execution.joins.ShuffledHashJoinExec | |||
import org.apache.spark.sql.execution.joins.{ShuffledHashJoinExec} |
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.
nit don't need {}
for a single import
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.
Thanks. There are also a couple unused imports after this refactor so I will push a commit to clean this up.
Signed-off-by: Andy Grove <andygrove@nvidia.com>
build |
* Move GpuHashJoin out of shims and stop extending HashJoin Signed-off-by: Andy Grove <andygrove@nvidia.com> * clean up imports Signed-off-by: Andy Grove <andygrove@nvidia.com>
* Move GpuHashJoin out of shims and stop extending HashJoin Signed-off-by: Andy Grove <andygrove@nvidia.com> * clean up imports Signed-off-by: Andy Grove <andygrove@nvidia.com>
compute-saniziter is a tool can detect some GPU memory relevant issues, this PR is to enable it in memory check mode for the JNI unit tests. Some explanation for the parameters of the Compute Sanitizer. --log-file should be used to avoid a corrupting output issue from the surefire plugin. --error-exitcode is used to fail the build process if any error is caught by the Compute Sanitizer. --launch-timeout is set to 10 minutes, and it should be enough since we monitor only the forked test processes. --------- Signed-off-by: Liangcai Li <firestarmanllc@gmail.com> Co-authored-by: Jason Lowe <jlowe@nvidia.com>
Signed-off-by: Andy Grove andygrove@nvidia.com
Move
GpuHashJoin
out of the shims and do not extend from Spark'sHashJoin
.