Skip to content

Commit 8c48c39

Browse files
authored
Update test case for issue #5771 showing it is resolved (#13180)
With #13066 we run optimizer rules on subquries by default which resolved issue #5771
1 parent 9df766f commit 8c48c39

File tree

1 file changed

+1
-4
lines changed
  • datafusion/core/tests/dataframe

1 file changed

+1
-4
lines changed

datafusion/core/tests/dataframe/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,7 @@ async fn test_count_wildcard_on_where_in() -> Result<()> {
114114
.await?
115115
.aggregate(vec![], vec![count(wildcard())])?
116116
.select(vec![count(wildcard())])?
117-
.into_unoptimized_plan(),
118-
// Usually, into_optimized_plan() should be used here, but due to
119-
// https://github.com/apache/datafusion/issues/5771,
120-
// subqueries in SQL cannot be optimized, resulting in differences in logical_plan. Therefore, into_unoptimized_plan() is temporarily used here.
117+
.into_optimized_plan()?,
121118
),
122119
))?
123120
.select(vec![col("a"), col("b")])?

0 commit comments

Comments
 (0)