From dec13b3cb9fc46c461fe8810c8861c4edf0088fd Mon Sep 17 00:00:00 2001 From: Jacob Quinn Date: Mon, 12 Jun 2023 21:47:17 -0600 Subject: [PATCH] Fix typo in passing largelists keyword arg Fixes #392 --- src/arraytypes/list.jl | 2 +- src/arraytypes/map.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arraytypes/list.jl b/src/arraytypes/list.jl index df66f1fb..91f693d4 100644 --- a/src/arraytypes/list.jl +++ b/src/arraytypes/list.jl @@ -217,7 +217,7 @@ function arrowvector(::ListKind, x, i, nl, fi, de, ded, meta; largelists::Bool=f data = flat T = origtype(flat) else - data = arrowvector(flat, i, nl + 1, fi, de, ded, nothing; lareglists=largelists, kw...) + data = arrowvector(flat, i, nl + 1, fi, de, ded, nothing; largelists=largelists, kw...) T = withmissing(eltype(x), Vector{eltype(data)}) end return List{T, eltype(flat.inds), typeof(data)}(UInt8[], validity, offsets, data, len, meta) diff --git a/src/arraytypes/map.jl b/src/arraytypes/map.jl index 30d71cc2..c117a2bd 100644 --- a/src/arraytypes/map.jl +++ b/src/arraytypes/map.jl @@ -59,7 +59,7 @@ function arrowvector(::MapKind, x, i, nl, fi, de, ded, meta; largelists::Bool=fa T = DT !== ET ? Union{Missing, VT} : VT flat = ToList(T[keyvalues(KT, y) for y in x]; largelists=largelists) offsets = Offsets(UInt8[], flat.inds) - data = arrowvector(flat, i, nl + 1, fi, de, ded, nothing; lareglists=largelists, kw...) + data = arrowvector(flat, i, nl + 1, fi, de, ded, nothing; largelists=largelists, kw...) K, V = keyvaluetypes(eltype(data)) return Map{withmissing(ET, Dict{K, V}), eltype(flat.inds), typeof(data)}(validity, offsets, data, len, meta) end