@@ -24,7 +24,7 @@ use std::{
2424 convert:: { TryFrom , TryInto } ,
2525} ;
2626
27- use crate :: datasource:: DFTableAdapter ;
27+ use crate :: datasource:: DfTableAdapter ;
2828use crate :: serde:: { protobuf, BallistaError } ;
2929
3030use arrow:: datatypes:: { DataType , Schema } ;
@@ -679,7 +679,7 @@ impl TryInto<protobuf::LogicalPlanNode> for &LogicalPlan {
679679
680680 // unwrap the DFTableAdapter to get to the real TableProvider
681681 let source = if let Some ( adapter) =
682- source. as_any ( ) . downcast_ref :: < DFTableAdapter > ( )
682+ source. as_any ( ) . downcast_ref :: < DfTableAdapter > ( )
683683 {
684684 match & adapter. logical_plan {
685685 LogicalPlan :: TableScan { source, .. } => Ok ( source. as_any ( ) ) ,
@@ -1021,7 +1021,7 @@ impl TryInto<protobuf::LogicalExprNode> for &Expr {
10211021 let fun: protobuf:: ScalarFunction = fun. try_into ( ) ?;
10221022 let expr: Vec < protobuf:: LogicalExprNode > = args
10231023 . iter ( )
1024- . map ( |e| Ok ( e. try_into ( ) ? ) )
1024+ . map ( |e| e. try_into ( ) )
10251025 . collect :: < Result < Vec < protobuf:: LogicalExprNode > , BallistaError > > ( ) ?;
10261026 Ok ( protobuf:: LogicalExprNode {
10271027 expr_type : Some (
@@ -1164,6 +1164,7 @@ impl TryInto<protobuf::LogicalExprNode> for &Expr {
11641164 }
11651165}
11661166
1167+ #[ allow( clippy:: from_over_into) ]
11671168impl Into < protobuf:: Schema > for & Schema {
11681169 fn into ( self ) -> protobuf:: Schema {
11691170 protobuf:: Schema {
0 commit comments