Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgapp committed Jan 26, 2024
1 parent 6121248 commit 80069f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions datafusion/core/src/physical_optimizer/projection_pushdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ fn try_swapping_with_memory(
MemoryExec::try_new(
memory.partitions(),
memory.original_schema(),
new_projections,
Some(new_projections),
)
.map(|e| Arc::new(e) as _)
})
Expand Down Expand Up @@ -248,7 +248,7 @@ fn try_swapping_with_streaming_table(
StreamingTableExec::try_new(
streaming_table.partition_schema().clone(),
streaming_table.partitions().clone(),
new_projections.as_ref(),
Some(new_projections.as_ref()),
lex_orderings,
streaming_table.is_infinite(),
)
Expand Down
3 changes: 3 additions & 0 deletions datafusion/sqllogictest/test_files/cte.slt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ Projection: NUMBERS.a, NUMBERS.b, NUMBERS.c
physical_plan
ProjectionExec: expr=[1 as a, 2 as b, 3 as c]
--PlaceholderRowExec



# enable recursive CTEs
statement ok
set datafusion.execution.enable_recursive_ctes = true;
Expand Down
2 changes: 1 addition & 1 deletion testing

0 comments on commit 80069f7

Please sign in to comment.