ImmutableList.Builder<JoinNode.EquiJoinClause> criteriaBuilder = ImmutableList.builder();
criteriaBuilder.add(new JoinNode.EquiJoinClause(A, D));
criteriaBuilder.add(new JoinNode.EquiJoinClause(B, E));
List<JoinNode.EquiJoinClause> criteria = criteriaBuilder.build();
TableScanNode leftScan = new TableScanNode(
newId(),
new DualTableHandle("default"),
ImmutableList.of(A, B, C),
scanAssignments,
BooleanLiteral.TRUE_LITERAL,
BooleanLiteral.TRUE_LITERAL
);
TableScanNode rightScan = new TableScanNode(
newId(),
new DualTableHandle("default"),
ImmutableList.of(D, E, F),
scanAssignments,
BooleanLiteral.TRUE_LITERAL,