Skip to content

Commit dd53bb9

Browse files
committed
chore: codefmt
1 parent 75619a8 commit dd53bb9

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

src/meta/proto-conv/tests/it/v158_udtf_server.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
use std::collections::BTreeMap;
16-
1715
use chrono::DateTime;
1816
use chrono::Utc;
1917
use databend_common_expression::types::DataType;

src/query/service/tests/it/sql/exec/get_table_bind_test.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ use databend_common_expression::Expr;
5151
use databend_common_expression::FunctionContext;
5252
use databend_common_expression::Scalar;
5353
use databend_common_io::prelude::FormatSettings;
54-
use databend_common_meta_app::principal::FileFormatParams;
54+
use databend_common_meta_app::principal::{FileFormatParams, UDTFServer};
5555
use databend_common_meta_app::principal::GrantObject;
5656
use databend_common_meta_app::principal::OnErrorMode;
5757
use databend_common_meta_app::principal::RoleInfo;
@@ -159,6 +159,8 @@ use databend_storages_common_table_meta::meta::TableSnapshot;
159159
use parking_lot::Mutex;
160160
use parking_lot::RwLock;
161161
use xorf::BinaryFuse16;
162+
use databend_common_catalog::table_args::TableArgs;
163+
use databend_common_catalog::table_function::TableFunction;
162164

163165
type MetaType = (String, String, String);
164166

@@ -488,6 +490,10 @@ impl Catalog for FakedCatalog {
488490
) -> Result<GetAutoIncrementNextValueReply> {
489491
todo!()
490492
}
493+
494+
fn transform_udtf_as_table_function(&self, ctx: &dyn TableContext, table_args: &TableArgs, udtf: UDTFServer, func_name: &str) -> Result<Arc<dyn TableFunction>> {
495+
todo!()
496+
}
491497
}
492498

493499
struct CtxDelegation {

src/query/service/tests/it/storages/fuse/operations/commit.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ use databend_common_expression::Expr;
5050
use databend_common_expression::FunctionContext;
5151
use databend_common_expression::Scalar;
5252
use databend_common_io::prelude::FormatSettings;
53-
use databend_common_meta_app::principal::FileFormatParams;
53+
use databend_common_meta_app::principal::{FileFormatParams, UDTFServer};
5454
use databend_common_meta_app::principal::GrantObject;
5555
use databend_common_meta_app::principal::OnErrorMode;
5656
use databend_common_meta_app::principal::RoleInfo;
@@ -164,6 +164,8 @@ use parking_lot::Mutex;
164164
use parking_lot::RwLock;
165165
use walkdir::WalkDir;
166166
use xorf::BinaryFuse16;
167+
use databend_common_catalog::table_args::TableArgs;
168+
use databend_common_catalog::table_function::TableFunction;
167169

168170
#[tokio::test(flavor = "multi_thread")]
169171
async fn test_fuse_occ_retry() -> Result<()> {
@@ -1238,4 +1240,8 @@ impl Catalog for FakedCatalog {
12381240
) -> Result<GetAutoIncrementNextValueReply> {
12391241
todo!()
12401242
}
1243+
1244+
fn transform_udtf_as_table_function(&self, ctx: &dyn TableContext, table_args: &TableArgs, udtf: UDTFServer, func_name: &str) -> Result<Arc<dyn TableFunction>> {
1245+
todo!()
1246+
}
12411247
}

0 commit comments

Comments
 (0)