Hash join: Difference between revisions

Content added Content deleted
No edit summary
Line 96: Line 96:
}
}
// join phase
// join phase
for b := range tableB {
for _, x := range tableB {
for _, a := range h[tableB[b].key] {
for _, a := range h[x.key] {
fmt.Println(tableA[a], tableB[b])
fmt.Println(tableA[a], x)
}
}
}
}