-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Kernel] Move precondition checks from DefaultKernelUtils to Preconditions class #2169
Conversation
Signed-off-by: Renan Tomazoni Pinzon <[email protected]>
Signed-off-by: Renan Tomazoni Pinzon <[email protected]>
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.
lgtm, just one minor comment. Thank you for your contribution.
kernel/kernel-defaults/src/main/java/io/delta/kernel/defaults/internal/Preconditions.java
Outdated
Show resolved
Hide resolved
kernel/kernel-defaults/src/main/java/io/delta/kernel/defaults/internal/Preconditions.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Renan Tomazoni Pinzon <[email protected]>
Signed-off-by: Renan Tomazoni Pinzon <[email protected]>
@vkorukanti since I synced the upstream changes today I can't build the project or import it into the IDE anymore. However, when I push to my branch the pipeline runs fine. I double checked the building instructions but it doesn't appear to have changed. Looking at the build log, I can see that all errors are related to missing classes/objects in I tried to clone and build ( Am I missing something? |
I just noticed the master build is broken. Made a PR. Hopefully that should fix it, let me know if not. |
hey @vkorukanti, I'm not sure if your PR has already been merged into the master but I just tried to build the project and the error still occurs |
The fix I mentioned is already landed on master. Can you try following steps to understand why the icebergShaded` classes are not found.
|
Following these steps I was able to find out that the JARs were not being generated in the Thank you very much for your help @vkorukanti. |
…kernel-preconditions
…r of the Preconditions class
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.
lgtm
Which Delta project/connector is this regarding?
Description
Moves
checkArgument
methods fromDefautKernelUtils
toPreconditions
class to clean up the code.Resolves #2148
How was this patch tested?
Existing tests suffice.
Does this PR introduce any user-facing changes?
No