-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[PIP-22] Introduce repair metastore procedure #3355
Conversation
paimon-core/src/main/java/org/apache/paimon/catalog/Catalog.java
Outdated
Show resolved
Hide resolved
paimon-core/src/main/java/org/apache/paimon/catalog/Catalog.java
Outdated
Show resolved
Hide resolved
paimon-core/src/main/java/org/apache/paimon/catalog/Catalog.java
Outdated
Show resolved
Hide resolved
throw new UnsupportedOperationException(); | ||
} | ||
|
||
default void repairTable(Identifier identifier) throws TableNotExistException { |
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.
Add some 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.
Querying the paimon table by identifier in the file system may not exist. TableNotExistException
is the exception thrown on the getDataTable method.
...on-flink/paimon-flink-cdc/src/main/java/org/apache/paimon/flink/sink/cdc/CdcRecordUtils.java
Outdated
Show resolved
Hide resolved
...on-flink/paimon-flink-cdc/src/main/java/org/apache/paimon/flink/sink/cdc/CdcRecordUtils.java
Outdated
Show resolved
Hide resolved
...ink/paimon-flink-common/src/main/java/org/apache/paimon/flink/procedure/RepairProcedure.java
Outdated
Show resolved
Hide resolved
paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalog.java
Outdated
Show resolved
Hide resolved
paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalog.java
Outdated
Show resolved
Hide resolved
Thanks @zhuangchong , left some comments. |
Thanks. @JingsongLi |
paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalog.java
Outdated
Show resolved
Hide resolved
paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalog.java
Show resolved
Hide resolved
I added a new test
|
+1 |
Purpose
Introduce repair metastore procedure
Tests
HiveCatalogITCaseBase#testRepairTable
API and Format
Documentation