zhangyue19921010 commented on a change in pull request #3887:
URL: https://github.com/apache/hudi/pull/3887#discussion_r745226109
##########
File path:
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/table/HoodieSparkTable.java
##########
@@ -63,9 +63,14 @@ protected HoodieSparkTable(HoodieWriteConfig config,
HoodieEngineContext context
public static <T extends HoodieRecordPayload> HoodieSparkTable<T>
create(HoodieWriteConfig config, HoodieEngineContext context,
boolean refreshTimeline) {
HoodieTableMetaClient metaClient =
-
HoodieTableMetaClient.builder().setConf(context.getHadoopConf().get()).setBasePath(config.getBasePath())
-
.setLoadActiveTimelineOnLoad(true).setConsistencyGuardConfig(config.getConsistencyGuardConfig())
- .setLayoutVersion(Option.of(new
TimelineLayoutVersion(config.getTimelineLayoutVersion()))).build();
+ HoodieTableMetaClient.builder()
+ .setConf(context.getHadoopConf().get())
+ .setBasePath(config.getBasePath())
+ .setLoadActiveTimelineOnLoad(true)
+ .setConsistencyGuardConfig(config.getConsistencyGuardConfig())
+ .setFileSystemGuardConfig(config.getFileSystemGuardConfig())
Review comment:
Sure, thing. Will get it done.
--
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]