Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
仟弋 committed Dec 10, 2024
1 parent 52b1601 commit fe09553
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public KeyValueDataFileWriter(
Function<KeyValue, InternalRow> converter,
RowType keyType,
RowType valueType,
RowType writeRowType,
@Nullable SimpleStatsExtractor simpleStatsExtractor,
long schemaId,
int level,
Expand All @@ -96,14 +97,11 @@ public KeyValueDataFileWriter(
factory,
path,
converter,
KeyValue.schema(options.thinMode() ? RowType.of() : keyType, valueType),
writeRowType,
simpleStatsExtractor,
compression,
StatsCollectorFactories.createStatsFactories(
options,
KeyValue.schema(options.thinMode() ? RowType.of() : keyType, valueType)
.getFieldNames(),
keyType.getFieldNames()),
options, writeRowType.getFieldNames(), keyType.getFieldNames()),
options.asyncFileWrite());

this.keyType = keyType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public KeyValueDataFileWriterImpl(
converter,
keyType,
valueType,
KeyValue.schema(keyType, valueType),
simpleStatsExtractor,
schemaId,
level,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public KeyValueThinDataFileWriterImpl(
converter,
keyType,
valueType,
KeyValue.schema(RowType.of(), valueType),
simpleStatsExtractor,
schemaId,
level,
Expand Down

0 comments on commit fe09553

Please sign in to comment.