Skip to content

Commit 077d849

Browse files
author
Pietro Vertechi
committed
Add reminder on rowcmp
1 parent 878ce7c commit 077d849

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/groupjoin.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Important, for broadcast joins we cannot assume c and d have same number of columns:
2+
# c could have more columns than d
13
@generated function rowcmp(c::StructVector, i, d::StructVector{C, D}, j) where {C, D}
24
N = fieldcount(D)
35
ex = :(cmp(getfield(fieldarrays(c),$N)[i], getfield(fieldarrays(d),$N)[j]))

0 commit comments

Comments
 (0)