alamb commented on code in PR #2772:
URL: https://github.com/apache/arrow-datafusion/pull/2772#discussion_r905228259
##########
datafusion/optimizer/src/utils.rs:
##########
@@ -18,22 +18,15 @@
//! Collection of utility functions that are leveraged by the query optimizer
rules
use crate::{OptimizerConfig, OptimizerRule};
-use datafusion_common::{DataFusionError, Result, ScalarValue};
+use datafusion_common::Result;
use datafusion_expr::{
and,
- expr::GroupingSet,
- lit,
logical_plan::{Filter, LogicalPlan},
utils::from_plan,
Expr, Operator,
};
use std::sync::Arc;
-const CASE_EXPR_MARKER: &str = "__DATAFUSION_CASE_EXPR__";
Review Comment:
🔥 very nice
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]