I think this really is telling us that our type-based recursive construction/deconstruction is no godd: ## works ```julia julia> using UnROOT, AwkwardArray julia> df = LazyTree("/home/akako/.julia/dev/UnROOT/test/samples/RNTuple/Run2012BC_DoubleMuParked_Muons_rntuple_1000evts.root", "Events"); julia> ak = AwkwardArray.from_table(df); julia> ak[1] {_collection0: [{Muon_pt: ..., ...}, ...], Muon_pt: [...], Muon_eta: [...], ...} ``` ## doesn't work ```julia julia> df = LazyTree("/home/akako/.julia/dev/UnROOT/test/samples/NanoAODv5_sample.root", "Events"); julia> ak = AwkwardArray.from_table(df); ... ROOT.Nojagg, Array{Bool, 1}}, UnROOT.LazyBranch{Bool, UnROOT.Nojagg, Array{Bool, 1}}, UnROOT.LazyBranch{Bool, UnROOT.Nojagg, Array{Bool, 1}}, UnROOT.LazyBranch{UInt8, UnROOT.Nojagg, Array{UInt8, 1}}, UnROOT.LazyBranch{Bool, UnROOT.Nojagg, Array{Bool, 1}}}}}) Encountered stack overflow. This might be caused by recursion over very long tuples or argument lists. ```
Activity
[-]`StackOverflow` when table is too large[/-][+]`StackOverflow` when table is too wide[/+][-]`StackOverflow` when table is too wide[/-][+]`StackOverflow` in `from_table()`[/+]Moelf commentedon Oct 23, 2024
Actually, the StackOverflow stems from this line:
AwkwardArray.jl/src/tables.jl
Line 17 in 1af9378
and if we replace
NT->NamedTupleit will work, at least for this particular NanoAODLazyEvent.