Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xudong963 committed Sep 19, 2024
1 parent fc88e53 commit 9d8aeb5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ impl RuleEliminateUnion {
if child_num == 0 {
Ok(matches!(
s_expr.plan(),
RelOperator::DummyTableScan(_)
| RelOperator::ConstantTableScan(ConstantTableScan { num_rows: 0, .. })
RelOperator::ConstantTableScan(ConstantTableScan { num_rows: 0, .. })
))
} else {
Self::is_empty_scan(s_expr.child(0)?)
Expand Down

0 comments on commit 9d8aeb5

Please sign in to comment.