Skip to content

Commit

Permalink
Do the rewrite recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
dallmair authored and terrajobst committed Oct 2, 2024
1 parent 6cfc64f commit 04e81b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NQuery/Optimization/JoinConditionValueSlotExtractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ internal sealed class JoinConditionValueSlotExtractor : BoundTreeRewriter
{
protected override BoundRelation RewriteJoinRelation(BoundJoinRelation node)
{
node = (BoundJoinRelation)base.RewriteJoinRelation(node);

var valueSlotFactory = node.GetOutputValues().FirstOrDefault()?.Factory ?? new ValueSlotFactory();
var leftOutputValues = node.Left.GetOutputValues().ToImmutableArray();
var rightOutputValues = node.Right.GetOutputValues().ToImmutableArray();
Expand Down

0 comments on commit 04e81b6

Please sign in to comment.