[HUDI-2933] DISABLE Metadata table by default (#4213)
This commit is contained in:
@@ -143,7 +143,7 @@ public class TestHoodieSparkMergeOnReadTableRollback extends SparkClientFunction
|
||||
@ValueSource(booleans = {true, false})
|
||||
void testRollbackWithDeltaAndCompactionCommit(boolean rollbackUsingMarkers) throws Exception {
|
||||
HoodieWriteConfig.Builder cfgBuilder = getConfigBuilder(false, rollbackUsingMarkers, HoodieIndex.IndexType.SIMPLE)
|
||||
.withMetadataConfig(HoodieMetadataConfig.newBuilder().enable(true).build());
|
||||
.withMetadataConfig(HoodieMetadataConfig.newBuilder().enable(false).build());
|
||||
addConfigsForPopulateMetaFields(cfgBuilder, true);
|
||||
HoodieWriteConfig cfg = cfgBuilder.build();
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ public final class HoodieMetadataConfig extends HoodieConfig {
|
||||
// Enable the internal Metadata Table which saves file listings
|
||||
public static final ConfigProperty<Boolean> ENABLE = ConfigProperty
|
||||
.key(METADATA_PREFIX + ".enable")
|
||||
.defaultValue(true)
|
||||
.defaultValue(false)
|
||||
.sinceVersion("0.7.0")
|
||||
.withDocumentation("Enable the internal metadata table which serves table metadata like level file listings");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user