jtchen-study commented on issue #6224:
URL: https://github.com/apache/hudi/issues/6224#issuecomment-1198993882
@yihua yes , thanks for your reply
` public static HoodieWriteConfig buildCfg(String tablePath, String
tableSchema, String tableName) {
return HoodieWriteConfig.newBuilder().withPath(tablePath)
.withSchema(tableSchema)
.withFileSystemViewConfig(FileSystemViewStorageConfig.newBuilder()
.withStorageType(FileSystemViewStorageType.MEMORY)
.build())
.withEmbeddedTimelineServerEnabled(false)
.withAutoCommit(true)
.withWriteConcurrencyMode(WriteConcurrencyMode.SINGLE_WRITER)
.withMarkersType(MarkerType.DIRECT.toString())
.withEngineType(EngineType.JAVA)
.forTable(tableName)
.withIndexConfig(HoodieIndexConfig.newBuilder()
.withIndexType(HoodieIndex.IndexType.BLOOM).build())
.withCompactionConfig(HoodieCompactionConfig.newBuilder()
.withAutoClean(false)
.withAutoArchive(false)
.build())
.build();
}`
--
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]