Update all new Tasks
This commit is contained in:
parent
00a190b0a6
commit
91df62d461
5697 changed files with 93386 additions and 804 deletions
9
Task/Hash-join/J/hash-join-2.j
Normal file
9
Task/Hash-join/J/hash-join-2.j
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
hash=: ]
|
||||
dojoin=:3 :0
|
||||
c1=. {.{.y
|
||||
c2=. (1 {"1 y) -. a:
|
||||
c3=. (2 {"1 y) -. a:
|
||||
>{c1;c2;<c3
|
||||
)
|
||||
|
||||
JOIN=: ; -.&a: ,/each(hash@{."1 <@dojoin/. ]) (1 1 0&#inv@|."1 table1), 1 0 1#inv"1 table2
|
||||
Loading…
Add table
Add a link
Reference in a new issue