Skip to content

Commit

Permalink
Update test case for issue apache#5771 showing it is resolved (apache…
Browse files Browse the repository at this point in the history
…#13180)

With apache#13066 we run optimizer rules on subquries by default which
resolved issue apache#5771
  • Loading branch information
eejbyfeldt authored Oct 30, 2024
1 parent 9df766f commit 8c48c39
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions datafusion/core/tests/dataframe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,7 @@ async fn test_count_wildcard_on_where_in() -> Result<()> {
.await?
.aggregate(vec![], vec![count(wildcard())])?
.select(vec![count(wildcard())])?
.into_unoptimized_plan(),
// Usually, into_optimized_plan() should be used here, but due to
// https://github.com/apache/datafusion/issues/5771,
// subqueries in SQL cannot be optimized, resulting in differences in logical_plan. Therefore, into_unoptimized_plan() is temporarily used here.
.into_optimized_plan()?,
),
))?
.select(vec![col("a"), col("b")])?
Expand Down

0 comments on commit 8c48c39

Please sign in to comment.