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 3524288 commit 3dc6eb1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ static Pair<int[], RowType> trimKeyFields(
} else {
map[i] = positionMap.computeIfAbsent(id, k -> trimmedFields.size());
// If the target field is not key field, we remain what it is, because it
// may be projected. Ex: the target field is a row type, but only read the
// may be projected. Example: the target field is a row type, but only read
// the
// few fields in it. If we simply
// trimmedFields.add(f), we will read more fields than we need.
trimmedFields.add(keyField ? f : field);
Expand Down

0 comments on commit 3dc6eb1

Please sign in to comment.