Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
仟弋 committed Dec 10, 2024
1 parent 742d478 commit d07a2c8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ public ColumnarRowIterator copy(ColumnVector[] vectors) {
}

public ColumnarRowIterator mapping(
@Nullable PartitionInfo partitionInfo, @Nullable int[] columnMapping) {
if (partitionInfo != null || columnMapping != null) {
@Nullable PartitionInfo partitionInfo, @Nullable int[] indexMapping) {
if (partitionInfo != null || indexMapping != null) {
VectorizedColumnBatch vectorizedColumnBatch = row.batch();
ColumnVector[] vectors = vectorizedColumnBatch.columns;
if (partitionInfo != null) {
vectors = VectorMappingUtils.createPartitionMappedVectors(partitionInfo, vectors);
}
if (columnMapping != null) {
vectors = VectorMappingUtils.createMappedVectors(columnMapping, vectors);
if (indexMapping != null) {
vectors = VectorMappingUtils.createMappedVectors(indexMapping, vectors);
}
return copy(vectors);
}
Expand Down

0 comments on commit d07a2c8

Please sign in to comment.