You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by qu...@apache.org on 2023/06/13 03:47:41 UTC
[arrow-julia] 01/01: Fix typo in passing largelists keyword arg
This is an automated email from the ASF dual-hosted git repository.
quinnj pushed a commit to branch jq-typo
in repository https://gitbox.apache.org/repos/asf/arrow-julia.git
commit dec13b3cb9fc46c461fe8810c8861c4edf0088fd
Author: Jacob Quinn <qu...@gmail.com>
AuthorDate: Mon Jun 12 21:47:17 2023 -0600
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 df66f1f..91f693d 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 30d71cc..c117a2b 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