-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-27689: Iceberg: Remove unsed iceberg property #4681
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
HIVE-27689: Iceberg: Remove unsed iceberg property #4681
Conversation
fd68ed8 to
c1aea2b
Compare
c1aea2b to
605319b
Compare
605319b to
0ef22cb
Compare
| public static final String COPY_ON_WRITE = "copy-on-write"; | ||
| public static final String MERGE_ON_READ = "merge-on-read"; | ||
| public static final String STATS = "/stats/"; | ||
| static final String WRITE_KEY = "HiveIcebergStorageHandler_write"; |
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.
Here i use this term to indicate the table is an output table and this term was previously removed by HIVE-26102. If you have any better suggestion, feel free to comment.
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.
how about simply iceberg.mr.output.table?
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.
Changed this line to static final String WRITE_KEY = "iceberg.mr.output.table";
|
@ayushtkn @deniskuzZ Would you mind taking a look? Thanks. |
I think we could still leverage iceberg.mr.operation.type for COW |
0ef22cb to
a84386a
Compare
Sure, I didn't delete it |
a84386a to
19f3a91
Compare
|
Kudos, SonarCloud Quality Gate passed!
|
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |









What changes were proposed in this pull request?
Why are the changes needed?
It makes me feel confuesd when reading the code about
InputFormatConfig.OPERATION_TYPE_PREFIX. This property introduced by HIVE-26102 was originally used to indicate the operation type of a output table, e.g DELETE&UPDATE&MERGE.But after HIVE-26202 and HIVE-26264, this property won't get actual table operation type and it only can be used to identify the output table.
We should remove this property from current code snippet as this will misunderstand the meaning of the code, and use a proper term to indicate this table is an output table.
Does this PR introduce any user-facing change?
Is the change a dependency upgrade?
How was this patch tested?