Apache DataFusion SQL Query Engine
*: fix #1727 (#2085)
jakevin122837d108fd
diff --git a/datafusion/src/optimizer/simplify_expressions.rs b/datafusion/src/optimizer/simplify_expressions.rsindex e95d2e8589..5927810da5 100644--- a/datafusion/src/optimizer/simplify_expressions.rs+++ b/datafusion/src/optimizer/simplify_expressions.rs@@ -1034,11 +1034,6 @@ mod tests {let expr = call_fn("to_timestamp", vec![col("a")]).unwrap();test_evaluate(expr.clone(), expr);- // check that non foldable arguments are folded- // to_timestamp(a) --> to_timestamp(a) [no rewrite possible]- let expr = call_fn("to_timestamp", vec![col("a")]).unwrap();- test_evaluate(expr.clone(), expr);-// volatile / stable functions should not be evaluated// rand() + (1 + 2) --> rand() + 3let fun = BuiltinScalarFunction::Random;