Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maxdepth argument not fully forwarded to inner functions from Arrow.write? #180

Closed
jrevels opened this issue Apr 22, 2021 · 0 comments · Fixed by #181
Closed

maxdepth argument not fully forwarded to inner functions from Arrow.write? #180

jrevels opened this issue Apr 22, 2021 · 0 comments · Fixed by #181

Comments

@jrevels
Copy link
Contributor

jrevels commented Apr 22, 2021

julia> tbl = (x = [Dict()],)
(x = Dict{Any,Any}[Dict()],)

julia> d = tbl.x[];

julia> for i in 1:20
           d[i] = Dict()
           d = d[i]
       end

julia> tbl
(x = Dict{Any,Any}[Dict(1 => Dict{Any,Any}(2 => Dict{Any,Any}(3 => Dict{Any,Any}(4 => Dict{Any,Any}(5 => Dict{Any,Any}(6 => Dict{Any,Any}(7 => Dict{Any,Any}(8 => Dict{Any,Any}(9 => Dict{Any,Any}(10 => Dict{Any,Any}(11 => Dict{Any,Any}(12 => Dict{Any,Any}(13 => Dict{Any,Any}(14 => Dict{Any,Any}(15 => Dict{Any,Any}(16 => Dict{Any,Any}(17 => Dict{Any,Any}(18 => Dict{Any,Any}(19 => Dict{Any,Any}(20 => Dict{Any,Any}()))))))))))))))))))))],)

julia> Arrow.write("test.arrow", tbl, maxdepth=100);
ERROR: reached nested serialization level (7) deeper than provided max depth argument (6); to increase allowed nesting level, pass `maxdepth=X`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant