You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that rows(t, cols) , whenever cols is empty, returns that funny object:StructArrays.StructArray{NamedTuple{(),Tuple{}},1,NamedTuple{(),Tuple{}}} with indices 1:0. When join tries to access it, it errors. The problem is that rows(t, cols) can't be a StructArray of the correct length because the length of the StructArray is the length of the columns and without columns this is undefined. Here I think the current solution (creating something with 0 length) is not ideal. I guess we could change rows(t, cols) to return fill(NamedTuple(), length(t)) so that length and eltype are correct, in which case I imagine join should work out of the box.
On JuliaDB 0.12 and IndexedTables 0.12:
throws:
But the following is fine:
The text was updated successfully, but these errors were encountered: