Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -31,5 +31,5 @@ def hashJoin(table1; key1; table2; key2):
|
|||
($row[key2]|h) as $key
|
||||
| if $hash|has($key) then
|
||||
reduce $hash[$key][] as $r (.; . + [ $row + $r ] )
|
||||
else . end)
|
||||
else . end)
|
||||
;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ def hashJoinArrays(table1; index1; table2; index2):
|
|||
($row[index2]|h) as $key
|
||||
| if $hash|has($key) then
|
||||
reduce $hash[$key][] as $r
|
||||
(.;
|
||||
. + [ $r + $row[0:index2] + $row[index2+1:] ] )
|
||||
else . end)
|
||||
(.;
|
||||
. + [ $r + $row[0:index2] + $row[index2+1:] ] )
|
||||
else . end)
|
||||
;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue