Description
Currently we have to merge joining rows in order to test a join predicate:
Row row = handler.concat(left, rightMaterialized.get(rightIdx++)); if (!cond.test(row)) continue;
it results in unconditional building a joined row even if it will not be emitted to downstream further. To avoid extra GC pressure we need to test the join predicate before joining rows:
if (!cond.test(left, right)) continue; Row row = handler.concat(left, right);
Attachments
Issue Links
- is part of
-
IGNITE-12248 Apache Calcite based query execution engine
- Open
- links to