… when commenting in the @orderby? I get it “reliably” (in my Julia 1.1.1 installation - I have not yet upgraded … //edit: but let me upgrade - maybe I’m happy then!) - see the image below. More readably the output for the first two println()s is:
julia> println(typeof(fromdata))
QueryOperators.EnumerableMap{NamedTuple{(:A,),Tuple{Int64}},QueryOperators.EnumerableFilter{NamedTuple{(:A, :B),Tuple{Int64,Int64}},QueryOperators.EnumerableIterable{NamedTuple{(:A, :B),Tuple{Int64,Int64}},Tables.DataValueRowIterator{NamedTuple{(:A, :B),Tuple{Int64,Int64}},Tables.RowIterator{NamedTuple{(:A, :B),Tuple{Array{Int64,1},Array{Int64,1}}}}}},getfield(Main, Symbol("##2384#2386"))},getfield(Main, Symbol("##2385#2387"))}
julia> println(nrow(fromdata))
ERROR: MethodError: no method matching nrow(::QueryOperators.EnumerableMap{NamedTuple{(:A,),Tuple{Int64}},QueryOperators.EnumerableFilter{NamedTuple{(:A, :B),Tuple{Int64,Int64}},QueryOperators.EnumerableIterable{NamedTuple{(:A, :B),Tuple{Int64,Int64}},Tables.DataValueRowIterator{NamedTuple{(:A, :B),Tuple{Int64,Int64}},Tables.RowIterator{NamedTuple{(:A, :B),Tuple{Array{Int64,1},Array{Int64,1}}}}}},getfield(Main, Symbol("##2384#2386"))},getfield(Main, Symbol("##2385#2387"))})
Closest candidates are:
nrow(::DataFrame) at C:\Users\h.mueller\.julia\packages\DataFrames\VrZOl\src\dataframe\dataframe.jl:278
nrow(::SubDataFrame) at C:\Users\h.mueller\.julia\packages\DataFrames\VrZOl\src\subdataframe\subdataframe.jl:114
Stacktrace:
[1] top-level scope at none:0
.