[HUDI-4316] Support for spillable diskmap configuration when constructing HoodieMergedLogRecordScanner (#5959)
This commit is contained in:
@@ -269,6 +269,8 @@ public class ClusteringOperator extends TableStreamOperator<ClusteringCommitEven
|
||||
.withReverseReader(writeConfig.getCompactionReverseLogReadEnabled())
|
||||
.withBufferSize(writeConfig.getMaxDFSStreamBufferSize())
|
||||
.withSpillableMapBasePath(writeConfig.getSpillableMapBasePath())
|
||||
.withDiskMapType(writeConfig.getCommonConfig().getSpillableDiskMapType())
|
||||
.withBitCaskDiskMapCompressionEnabled(writeConfig.getCommonConfig().isBitCaskDiskMapCompressionEnabled())
|
||||
.build();
|
||||
|
||||
HoodieTableConfig tableConfig = table.getMetaClient().getTableConfig();
|
||||
|
||||
@@ -136,6 +136,7 @@ public class FormatUtils {
|
||||
.withBufferSize(writeConfig.getMaxDFSStreamBufferSize())
|
||||
.withMaxMemorySizeInBytes(split.getMaxCompactionMemoryInBytes())
|
||||
.withDiskMapType(writeConfig.getCommonConfig().getSpillableDiskMapType())
|
||||
.withBitCaskDiskMapCompressionEnabled(writeConfig.getCommonConfig().isBitCaskDiskMapCompressionEnabled())
|
||||
.withSpillableMapBasePath(writeConfig.getSpillableMapBasePath())
|
||||
.withInstantRange(split.getInstantRange())
|
||||
.withOperationField(flinkConf.getBoolean(FlinkOptions.CHANGELOG_ENABLED))
|
||||
|
||||
Reference in New Issue
Block a user