Skip to content

Commit

Permalink
Use INNER join as result of TransformUncorrelatedScalarToJoin optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
losipiuk authored and erichwang committed Jun 8, 2016
1 parent 0b908d0 commit 8ff5bdb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public PlanNode visitApply(ApplyNode node, RewriteContext<PlanNode> context)
// only scalar subquery wraps expression in EnforceSingleRowNode
return new JoinNode(
idAllocator.getNextId(),
JoinNode.Type.FULL,
JoinNode.Type.INNER,
rewrittenNode.getInput(),
rewrittenNode.getSubquery(),
ImmutableList.of(),
Expand Down

0 comments on commit 8ff5bdb

Please sign in to comment.