Skip to content

Commit

Permalink
Fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
wankunde committed Dec 21, 2023
1 parent 99b43b8 commit 0321a2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import java.util.Map;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.Writable;
Expand All @@ -55,6 +56,8 @@ public class ParquetInputSplit extends FileSplit implements Writable {

private long end;
private long[] rowGroupOffsets;

@JsonIgnore
private volatile ParquetMetadata footer;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/
package org.apache.parquet.hadoop.metadata;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.io.StringReader;
Expand Down Expand Up @@ -85,6 +86,7 @@ public static ParquetMetadata fromJSON(String json) {
private final FileMetaData fileMetaData;
private final List<BlockMetaData> blocks;

@JsonIgnore
private volatile InputFile inputFile;

/**
Expand Down

0 comments on commit 0321a2d

Please sign in to comment.