data-import icon indicating copy to clipboard operation
data-import copied to clipboard

OneToManyReader assumes records are sorted by join fields

Open rjmackay opened this issue 11 years ago • 2 comments

OneToManyReader assumes records are sorted by join fields. For each left row, it iterates over RHS rows until it hits a row which doesn't match. If they're out of order, this means any later RHS rows are ignored.

The relevant code is ~ line 94 of OneToManyReader while ($leftId == $rightId && $this->rightReader->valid()) {

The reader should either not make this assumption, or document it

rjmackay avatar Apr 07 '15 23:04 rjmackay

Feel free to submit a PR :)

Baachi avatar Apr 10 '15 13:04 Baachi

+1

red-crown avatar May 14 '15 16:05 red-crown