File tree 2 files changed +0
-14
lines changed
datafusion/proto-common/src/to_proto
datafusion-examples/examples
2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -68,18 +68,6 @@ impl WindowUDFImpl for SimplifySmoothItUdf {
68
68
69
69
/// this function will simplify `SimplifySmoothItUdf` to `SmoothItUdf`.
70
70
fn simplify ( & self ) -> Option < WindowFunctionSimplification > {
71
- // Ok(ExprSimplifyResult::Simplified(Expr::WindowFunction(
72
- // WindowFunction {
73
- // fun: datafusion_expr::WindowFunctionDefinition::AggregateFunction(
74
- // AggregateFunction::Avg,
75
- // ),
76
- // args,
77
- // partition_by: partition_by.to_vec(),
78
- // order_by: order_by.to_vec(),
79
- // window_frame: window_frame.clone(),
80
- // null_treatment: *null_treatment,
81
- // },
82
- // )))
83
71
let simplify = |window_function : datafusion_expr:: expr:: WindowFunction ,
84
72
_: & dyn SimplifyInfo | {
85
73
Ok ( Expr :: WindowFunction ( WindowFunction {
Original file line number Diff line number Diff line change @@ -289,8 +289,6 @@ impl TryFrom<&ScalarValue> for protobuf::ScalarValue {
289
289
type Error = Error ;
290
290
291
291
fn try_from ( val : & ScalarValue ) -> Result < Self , Self :: Error > {
292
- use protobuf:: scalar_value:: Value ;
293
-
294
292
let data_type = val. data_type ( ) ;
295
293
match val {
296
294
ScalarValue :: Boolean ( val) => {
You can’t perform that action at this time.
0 commit comments