Uh oh!
There was an error while loading. Please reload this page.
Spark: Allow create table in hadoop catalog root namespace - #4024
Merged
Conversation
3 tasks
pan3793
commented
Feb 2, 2022
MemberAuthor
rdblue
reviewed
Feb 2, 2022
| } | ||
| private Identifier namespaceToIdentifier(String[] namespace) { | ||
| assert namespace.length > 0; |
Contributor
There was a problem hiding this comment.
We don't use assertions. If this is worth checking, then use a Precondition to create a readable error message.
rdblue
reviewed
Feb 2, 2022
| public TestCreateTable(String catalogName, String implementation, Map<String, String> config) { | ||
| super(catalogName, implementation, config); | ||
| this.isHadoopCatalog = "testhadoop".equals(catalogName); |
Contributor
There was a problem hiding this comment.
There's no need for a field. Can you just move this test into the Assume line?
rdblue
commented
Feb 2, 2022
Contributor
There are a couple minor things to fix, but overall good catch. Thanks, @pan3793! |
rdblue
commented
Feb 2, 2022
Contributor
I'm adding this to 0.13.1 since it is a regression. |
pan3793
commented
Feb 2, 2022
MemberAuthor
Addressed comments, also ported to spark 3.0/3.1 |
wypoon
commented
Feb 2, 2022
Contributor
LGTM. Thanks for catching this @pan3793! |
rdblue
approved these changes
Feb 2, 2022
rdblue
commented
Feb 2, 2022
Contributor
Thanks, @pan3793! |
amogh-jahagirdar pushed a commit
to amogh-jahagirdar/iceberg
that referenced
this pull request
Feb 10, 2022
Merged
jackye1995 pushed a commit
that referenced
this pull request
Feb 10, 2022
pan3793 added a commit
to pan3793/iceberg
that referenced
this pull request
Feb 15, 2022
samarthjain pushed a commit
to samarthjain/incubator-iceberg
that referenced
this pull request
Apr 6, 2022
(cherry picked from commit 614ec11)
vanliu-tx pushed a commit
to BKBASE-Plugin/iceberg
that referenced
this pull request
May 11, 2022
sunchao pushed a commit
to sunchao/iceberg
that referenced
this pull request
May 9, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a functional regression issue in Iceberg 0.13.0. At least in Iceberg 0.12.x(I do not test every previous version), Iceberg allows creating table under the root namespace of hadoop catalog, but #3722 broke it.
Use Spark 3.2.0 and Iceberg 0.13.0, error occurs when trying to create table under root namespace of hadoop catalog.