When calling the nestedLoopJoin
function, you need to set the key type and payload type. Only one key stream and one payload stream is given for an input table. If multiple key columns or multiple payload columns are required, use the combineCol to combine columns.
Every left row will become an independent channel to compare with the right table. You need to set the number of channels by setting the CMP_NUM
template parameter. 50 is a typical number for the CMP_NUM
.
Caution
A very large CMP_NUM (more than 120) can result in numerous resource.
You need to push the left and right tables into the associated streams. The number of rows of the left table should not exceed the predefined CMP_NUM
, but it can be less than the CMP_NUM
. Unused channels will generate an empty table (assert the end of table flag for one cycle) to the next module.