File tree Expand file tree Collapse file tree 6 files changed +7
-6
lines changed Expand file tree Collapse file tree 6 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 15
15
mod plan_aggregator_final;
16
16
mod plan_aggregator_partial;
17
17
mod plan_broadcast;
18
- mod plan_database_drop;
19
18
mod plan_database_rename;
20
19
mod plan_database_show_create;
21
20
mod plan_database_undrop;
@@ -108,7 +107,6 @@ mod plan_window_func;
108
107
pub use plan_aggregator_final:: AggregatorFinalPlan ;
109
108
pub use plan_aggregator_partial:: AggregatorPartialPlan ;
110
109
pub use plan_broadcast:: BroadcastPlan ;
111
- pub use plan_database_drop:: DropDatabasePlan ;
112
110
pub use plan_database_rename:: RenameDatabaseEntity ;
113
111
pub use plan_database_rename:: RenameDatabasePlan ;
114
112
pub use plan_database_show_create:: ShowCreateDatabasePlan ;
Original file line number Diff line number Diff line change 1
- // Copyright 2021 Datafuse Labs.
1
+ // Copyright 2022 Datafuse Labs.
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change @@ -17,3 +17,6 @@ pub use call::CallPlan;
17
17
18
18
mod create_database;
19
19
pub use create_database:: CreateDatabasePlan ;
20
+
21
+ mod drop_database;
22
+ pub use drop_database:: DropDatabasePlan ;
Original file line number Diff line number Diff line change 15
15
use std:: sync:: Arc ;
16
16
17
17
use common_exception:: Result ;
18
- use common_legacy_planners :: DropDatabasePlan ;
18
+ use common_planner :: plans :: DropDatabasePlan ;
19
19
20
20
use crate :: interpreters:: Interpreter ;
21
21
use crate :: pipelines:: PipelineBuildResult ;
Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ use common_datavalues::DataSchemaRefExt;
30
30
use common_datavalues:: ToDataType ;
31
31
use common_datavalues:: Vu8 ;
32
32
use common_exception:: Result ;
33
- use common_legacy_planners:: DropDatabasePlan ;
34
33
use common_legacy_planners:: RenameDatabaseEntity ;
35
34
use common_legacy_planners:: RenameDatabasePlan ;
36
35
use common_legacy_planners:: ShowCreateDatabasePlan ;
37
36
use common_legacy_planners:: UndropDatabasePlan ;
38
37
use common_meta_app:: schema:: DatabaseMeta ;
39
38
use common_meta_app:: share:: ShareNameIdent ;
40
39
use common_planner:: plans:: CreateDatabasePlan ;
40
+ use common_planner:: plans:: DropDatabasePlan ;
41
41
42
42
use crate :: sql:: binder:: Binder ;
43
43
use crate :: sql:: planner:: semantic:: normalize_identifier;
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ use common_legacy_planners::CreateUserUDFPlan;
55
55
use common_legacy_planners:: CreateViewPlan ;
56
56
use common_legacy_planners:: DeletePlan ;
57
57
use common_legacy_planners:: DescribeTablePlan ;
58
- use common_legacy_planners:: DropDatabasePlan ;
59
58
use common_legacy_planners:: DropRolePlan ;
60
59
use common_legacy_planners:: DropTableClusterKeyPlan ;
61
60
use common_legacy_planners:: DropTablePlan ;
@@ -85,6 +84,7 @@ use common_legacy_planners::UndropTablePlan;
85
84
use common_legacy_planners:: UseDatabasePlan ;
86
85
use common_planner:: plans:: CallPlan ;
87
86
use common_planner:: plans:: CreateDatabasePlan ;
87
+ use common_planner:: plans:: DropDatabasePlan ;
88
88
use common_planner:: MetadataRef ;
89
89
pub use copy_v2:: CopyPlanV2 ;
90
90
pub use copy_v2:: ValidationMode ;
You can’t perform that action at this time.
0 commit comments