-
Notifications
You must be signed in to change notification settings - Fork 891
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
Remove validation that requires introspection #11938
Remove validation that requires introspection #11938
Conversation
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.
Looks good. Just a couple of comments.
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.
Cython/Python approval.
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.
Have to love negative lines of code.
rerun tests |
Codecov ReportBase: 87.40% // Head: 86.87% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## branch-22.12 #11938 +/- ##
================================================
- Coverage 87.40% 86.87% -0.54%
================================================
Files 133 133
Lines 21833 21900 +67
================================================
- Hits 19084 19025 -59
- Misses 2749 2875 +126
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@jlowe I can fix the java errors, but before I do so do you know if this removal will cause any problems? Does anything in the Spark plugin etc currently rely on this behavior that might need to add in an extra layer to do the check now? |
No, I don't see any cases where the plugin is relying on the check for proper behavior. However this change will break the Java APIs and thus the Spark plugin build when it merges. I'll work on a Spark plugin PR that can be tested against this one to help avoid surprises and reduce the time the plugin build is broken. |
Awesome thanks @jlowe. What is the best path forward here? Should I go ahead and update the JNI code in this PR so that you can build directly against it, or is that not something that you need? |
Go ahead and make the Java changes in this PR. I've already posted a plugin PR at NVIDIA/spark-rapids#6860 with the assumption the check parameter will be removed from |
Yup I saw the PR. I've made the changes here and TableJni.cpp now compiles for me locally, so I think it's ready. |
Ah there appear to be some tests that I need to update. That shouldn't affect your ability to build and test the plugin against this though. I'll get on those tests. |
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.
Built this against NVIDIA/spark-rapids#6860 and verified the integration tests for joins and arrays passed (i.e.: the places where we use Table.scatter and Table.repeat).
@gpucibot merge |
Description
This PR removes optional validation for some APIs. Performing these validations requires data introspection, which we do not want. This PR resolves #5505.
Checklist