Skip to content

Commit

Permalink
Given statefulness we maintain around parquetColumnName, we should no…
Browse files Browse the repository at this point in the history
…t skip the logic when a user explicitly sets the parquet column name the same as the column name
  • Loading branch information
devinrsmith committed Oct 1, 2024
1 parent 9fa979e commit 6b58468
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -797,9 +797,6 @@ public Builder(final ParquetInstructions parquetInstructions) {
}

public Builder addColumnNameMapping(final String parquetColumnName, final String columnName) {
if (parquetColumnName.equals(columnName)) {
return this;
}
final ColumnInstructions ci = getColumnInstructions(columnName);
ci.setParquetColumnName(parquetColumnName);
if (parquetColumnNameToInstructions == null) {
Expand Down

0 comments on commit 6b58468

Please sign in to comment.