jonahgao commented on code in PR #11961:
URL: https://github.com/apache/datafusion/pull/11961#discussion_r1714933529


##########
datafusion/optimizer/src/eliminate_nested_union.rs:
##########
@@ -127,7 +130,14 @@ mod tests {
     }
 
     fn assert_optimized_plan_equal(plan: LogicalPlan, expected: &str) -> 
Result<()> {
-        assert_optimized_plan_eq(Arc::new(EliminateNestedUnion::new()), plan, 
expected)
+        let options = ConfigOptions::default();
+        let analyzed_plan = 
Analyzer::with_rules(vec![Arc::new(TypeCoercion::new())])

Review Comment:
   Add TypeCoercion to avoid breaking the tests.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to