Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
leaves12138 committed Dec 10, 2024
1 parent fe09553 commit 4124716
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ public MergeTreeWriter(
long maxSequenceNumber,
Comparator<InternalRow> keyComparator,
MergeFunction<KeyValue> mergeFunction,
RowType keyType,
RowType valueType,
KeyValueFileWriterFactory writerFactory,
boolean commitForceCompact,
ChangelogProducer changelogProducer,
Expand All @@ -108,8 +106,8 @@ public MergeTreeWriter(
this.sortMaxFan = sortMaxFan;
this.sortCompression = sortCompression;
this.ioManager = ioManager;
this.keyType = keyType;
this.valueType = valueType;
this.keyType = writerFactory.keyType();
this.valueType = writerFactory.valueType();
this.compactManager = compactManager;
this.newSequenceNumber = maxSequenceNumber + 1;
this.keyComparator = keyComparator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ protected MergeTreeWriter createWriter(
restoredMaxSeqNumber,
keyComparator,
mfFactory.create(),
keyType,
valueType,
writerFactory,
options.commitForceCompact(),
options.changelogProducer(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,6 @@ private MergeTreeWriter createMergeTreeWriter(
maxSequenceNumber,
comparator,
DeduplicateMergeFunction.factory().create(),
writerFactory.keyType(),
writerFactory.valueType(),
writerFactory,
options.commitForceCompact(),
changelogProducer,
Expand Down

0 comments on commit 4124716

Please sign in to comment.