@@ -37,11 +37,13 @@ use databend_common_catalog::runtime_filter_info::RuntimeFilterReady;
3737use databend_common_catalog:: runtime_filter_info:: RuntimeFilterReport ;
3838use databend_common_catalog:: statistics:: data_cache_statistics:: DataCacheMetrics ;
3939use databend_common_catalog:: table:: Table ;
40+ use databend_common_catalog:: table_args:: TableArgs ;
4041use databend_common_catalog:: table_context:: ContextError ;
4142use databend_common_catalog:: table_context:: FilteredCopyFiles ;
4243use databend_common_catalog:: table_context:: ProcessInfo ;
4344use databend_common_catalog:: table_context:: StageAttachment ;
4445use databend_common_catalog:: table_context:: TableContext ;
46+ use databend_common_catalog:: table_function:: TableFunction ;
4547use databend_common_exception:: ErrorCode ;
4648use databend_common_exception:: Result ;
4749use databend_common_expression:: BlockThresholds ;
@@ -50,10 +52,11 @@ use databend_common_expression::Expr;
5052use databend_common_expression:: FunctionContext ;
5153use databend_common_expression:: Scalar ;
5254use databend_common_io:: prelude:: FormatSettings ;
53- use databend_common_meta_app:: principal:: { FileFormatParams , UDTFServer } ;
55+ use databend_common_meta_app:: principal:: FileFormatParams ;
5456use databend_common_meta_app:: principal:: GrantObject ;
5557use databend_common_meta_app:: principal:: OnErrorMode ;
5658use databend_common_meta_app:: principal:: RoleInfo ;
59+ use databend_common_meta_app:: principal:: UDTFServer ;
5760use databend_common_meta_app:: principal:: UserDefinedConnection ;
5861use databend_common_meta_app:: principal:: UserInfo ;
5962use databend_common_meta_app:: principal:: UserPrivilegeType ;
@@ -164,8 +167,6 @@ use parking_lot::Mutex;
164167use parking_lot:: RwLock ;
165168use walkdir:: WalkDir ;
166169use xorf:: BinaryFuse16 ;
167- use databend_common_catalog:: table_args:: TableArgs ;
168- use databend_common_catalog:: table_function:: TableFunction ;
169170
170171#[ tokio:: test( flavor = "multi_thread" ) ]
171172async fn test_fuse_occ_retry ( ) -> Result < ( ) > {
@@ -1241,7 +1242,13 @@ impl Catalog for FakedCatalog {
12411242 todo ! ( )
12421243 }
12431244
1244- fn transform_udtf_as_table_function ( & self , ctx : & dyn TableContext , table_args : & TableArgs , udtf : UDTFServer , func_name : & str ) -> Result < Arc < dyn TableFunction > > {
1245+ fn transform_udtf_as_table_function (
1246+ & self ,
1247+ _ctx : & dyn TableContext ,
1248+ _table_args : & TableArgs ,
1249+ _udtf : UDTFServer ,
1250+ _func_name : & str ,
1251+ ) -> Result < Arc < dyn TableFunction > > {
12451252 todo ! ( )
12461253 }
12471254}
0 commit comments