From 0404aad84bd386aca7f4c280c165238e8fd2bef2 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Thu, 6 Apr 2023 14:58:47 -0500 Subject: [PATCH] try retain --- arrow.go | 1 + 1 file changed, 1 insertion(+) diff --git a/arrow.go b/arrow.go index 7647049c5..730a7019d 100644 --- a/arrow.go +++ b/arrow.go @@ -443,6 +443,7 @@ type arrowCache struct { func (e *executor) getDataTable(ctx context.Context, fname string) (arrow.Table, memory.Allocator, error) { cache, ok := e.arrowCache[fname] if ok { + cache.table.Retain() return cache.table, e.pool, nil } // ignoring the passed in allocatorsince where caching