This is an automated email from the ASF dual-hosted git repository.

goldmedal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new 8c48c3947e Update test case for issue #5771 showing it is resolved 
(#13180)
8c48c3947e is described below

commit 8c48c3947ea271c232dd0bbb49409e0d09cb82a9
Author: Emil Ejbyfeldt <[email protected]>
AuthorDate: Wed Oct 30 13:20:41 2024 +0100

    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
---
 datafusion/core/tests/dataframe/mod.rs | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/datafusion/core/tests/dataframe/mod.rs 
b/datafusion/core/tests/dataframe/mod.rs
index 0c3c2a9951..439aa6147e 100644
--- a/datafusion/core/tests/dataframe/mod.rs
+++ b/datafusion/core/tests/dataframe/mod.rs
@@ -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")])?


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to