mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
try retain
This commit is contained in:
parent
af40c3564a
commit
0404aad84b
1 changed files with 1 additions and 0 deletions
1
arrow.go
1
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue