Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb committed Sep 26, 2024
1 parent b04d8cd commit a05d69a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions datafusion/core/src/physical_optimizer/pruning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3465,10 +3465,12 @@ mod tests {
if let Some(column) =
left.as_any().downcast_ref::<phys_expr::Column>()
{
if column.name() == "b" && right
if column.name() == "b"
&& right
.as_any()
.downcast_ref::<phys_expr::Literal>()
.is_some() {
.is_some()
{
let new_column =
Arc::new(phys_expr::Column::new("c", column.index()))
as _;
Expand Down

0 comments on commit a05d69a

Please sign in to comment.