File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 22#![ allow( unused_crate_dependencies) ]
33
44use std:: collections:: HashMap ;
5- use std:: sync:: Arc ;
65
76use datafusion:: execution:: TaskContext ;
87use datafusion_common:: { DataFusionError , Result as DataFusionResult } ;
9- use datafusion_expr:: async_udf:: AsyncScalarUDFImpl ;
108use datafusion_sql:: parser:: { DFParserBuilder , Statement } ;
119use sqlparser:: ast:: { CreateFunctionBody , Expr , Statement as SqlStatement , Value } ;
1210use sqlparser:: dialect:: dialect_from_str;
@@ -33,7 +31,7 @@ pub struct Lang<'a> {
3331#[ derive( Debug ) ]
3432pub struct ParsedQuery {
3533 /// Extracted UDFs from the query
36- pub udfs : Vec < Arc < dyn AsyncScalarUDFImpl > > ,
34+ pub udfs : Vec < WasmScalarUdf > ,
3735 /// SQL query string with UDF definitions removed
3836 pub sql : String ,
3937}
You can’t perform that action at this time.
0 commit comments