This is an automated email from the ASF dual-hosted git repository.

quinnj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-julia.git


The following commit(s) were added to refs/heads/main by this push:
     new adf6ab8  Fix deprecation of getproperty(::Pairs, s) (#409)
adf6ab8 is described below

commit adf6ab8e39b38723a805eeb46d2b100a6855ec69
Author: Ben Baumgold <[email protected]>
AuthorDate: Thu Mar 23 01:27:19 2023 -0400

    Fix deprecation of getproperty(::Pairs, s) (#409)
    
    Fixes the deprecation introduced in JuliaLang/julia#39448 (Julia v1.7+)
---
 src/arraytypes/arraytypes.jl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/arraytypes/arraytypes.jl b/src/arraytypes/arraytypes.jl
index 355a034..f3cee5d 100644
--- a/src/arraytypes/arraytypes.jl
+++ b/src/arraytypes/arraytypes.jl
@@ -32,7 +32,7 @@ getmetadata(x::ArrowVector) = x.metadata
 Base.deleteat!(x::T, inds) where {T <: ArrowVector} = 
throw(ArgumentError("`$T` does not support `deleteat!`; arrow data is by nature 
immutable"))
 
 function toarrowvector(x, i=1, de=Dict{Int64, Any}(), ded=DictEncoding[], 
meta=getmetadata(x); compression::Union{Nothing, Vector{LZ4FrameCompressor}, 
LZ4FrameCompressor, Vector{ZstdCompressor}, ZstdCompressor}=nothing, kw...)
-    @debugv 2 "converting top-level column to arrow format: col = 
$(typeof(x)), compression = $compression, kw = $(kw.data)"
+    @debugv 2 "converting top-level column to arrow format: col = 
$(typeof(x)), compression = $compression, kw = $(values(kw))"
     @debugv 3 x
     A = arrowvector(x, i, 0, 0, de, ded, meta; compression=compression, kw...)
     if compression isa LZ4FrameCompressor

Reply via email to