From b3a0ccf43addefae059eac7c477aafa9cfb032e2 Mon Sep 17 00:00:00 2001 From: lriggs Date: Tue, 26 Sep 2023 17:00:24 -0700 Subject: [PATCH] Try nullifying fieldReader when cleaning up listreader. (#49) --- .../main/java/org/apache/arrow/vector/complex/ListVector.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/vector/src/main/java/org/apache/arrow/vector/complex/ListVector.java b/java/vector/src/main/java/org/apache/arrow/vector/complex/ListVector.java index 91275ae73d2c3..c61a2894aafd9 100644 --- a/java/vector/src/main/java/org/apache/arrow/vector/complex/ListVector.java +++ b/java/vector/src/main/java/org/apache/arrow/vector/complex/ListVector.java @@ -755,6 +755,7 @@ public UnionVector promoteToUnion() { } protected void invalidateReader() { + fieldReader = null; reader = null; }