Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Nov 25, 2024
1 parent 75caea8 commit 13a7ebb
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
import java.util.Objects;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Collectors;

/**
* Logical Union.
Expand Down Expand Up @@ -214,15 +213,6 @@ public boolean hasUnboundExpression() {
return super.hasUnboundExpression();
}

@Override
public List<Slot> computeOutput() {
if (children.isEmpty()) {
return constantExprsList.get(0).stream().map(NamedExpression::toSlot).collect(Collectors.toList());
} else {
return super.computeOutput();
}
}

private List<BitSet> mapSlotToIndex(Plan plan, List<Set<Slot>> equalSlotsList) {
Map<Slot, Integer> slotToIndex = new HashMap<>();
for (int i = 0; i < plan.getOutput().size(); i++) {
Expand Down

0 comments on commit 13a7ebb

Please sign in to comment.