-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[iceberg] support migration for iceberg hive-catalog and introduce flink procedure and action #4878
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
Conversation
|
+1 |
d43625c to
f73ecd1
Compare
| // isPartitioned, icebergIsHive, paimonIsHive, isNamedArgument | ||
| return Stream.of( | ||
| Arguments.of(true, false, false, true), | ||
| Arguments.of(false, false, false, true), | ||
| Arguments.of(true, true, false, true), | ||
| Arguments.of(false, true, false, true), | ||
| Arguments.of(true, true, false, false), | ||
| Arguments.of(false, true, false, false), | ||
| Arguments.of(true, false, true, true), | ||
| Arguments.of(true, true, true, true)); | ||
| } |
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.
No need to run all combinations each time. Generate random values for each argument each time. If there is a bug, some PR will trigger it.
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.
Ok, I'll make it a random test.
7f33534 to
e8b3880
Compare
…g to paimon # Conflicts: # paimon-core/src/main/java/org/apache/paimon/iceberg/metadata/IcebergDataField.java
…g table in hive is external
…mon table to source table if migrating success [core] alter access permisssion of getDataTypeFromType()
# Conflicts: # paimon-flink/paimon-flink-common/src/main/resources/META-INF/services/org.apache.paimon.factories.Factory # Conflicts: # paimon-flink/paimon-flink-common/src/main/resources/META-INF/services/org.apache.paimon.factories.Factory
…IcebergTableProcedureITCase
e8b3880 to
6b84657
Compare
…ink procedure and action (apache#4878) This closes apache#4878.
Purpose
Linked issue: close #xxx
In pr #4639, we had supported the core ability of migrating iceberg table to paimon table. This pr aims to:
Up to now, you can migrate iceberg table to paimon table by invoking the corresponding procedure or action.
Tests
org.apache.paimon.hive.procedure.MigrateTableProcedureITCase#testMigrateIcebergTableProcedure
org.apache.paimon.hive.procedure.MigrateTableProcedureITCase#testMigrateIcebergTableAction
API and Format
Documentation