Skip to content

Commit

Permalink
fix outSchemaWithRenamedColumns assignment that led to NPE in some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim_konstantinov committed Oct 21, 2024
1 parent 842dfb7 commit a482ca1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public ParquetRewriter(
MaskMode maskMode) {
this.writer = writer;
this.outSchema = outSchema;
this.outSchemaWithRenamedColumns = null;
this.outSchemaWithRenamedColumns = outSchema;
this.newCodecName = codecName;
extraMetaData = new HashMap<>(meta.getFileMetaData().getKeyValueMetaData());
extraMetaData.put(
Expand Down

0 comments on commit a482ca1

Please sign in to comment.