nsivabalan commented on code in PR #12280:
URL: https://github.com/apache/hudi/pull/12280#discussion_r1847762115
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/BaseActionExecutor.java:
##########
@@ -157,7 +157,7 @@ protected final void
writeTableMetadata(HoodieRestoreMetadata metadata) {
*/
protected final void dropIndexOnRestore() {
for (String partitionPath :
table.getMetaClient().getTableConfig().getMetadataPartitions()) {
- if (MetadataPartitionType.shouldDeletePartitionOnRestore(partitionPath))
{
+ if
(MetadataPartitionType.shouldDeleteMDTPartitionOnOverwriteOrRestore(partitionPath))
{
Review Comment:
lets not re-create the index automatically. its ok to throw exception and
suggest users to disable SI for the table of interest.
they can wait for 1.0.1 or something to get a fix for this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]