File tree Expand file tree Collapse file tree 8 files changed +14
-13
lines changed Expand file tree Collapse file tree 8 files changed +14
-13
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_show_create;
19
- mod plan_database_undrop;
20
18
mod plan_delete;
21
19
mod plan_empty;
22
20
mod plan_explain;
@@ -106,8 +104,6 @@ mod plan_window_func;
106
104
pub use plan_aggregator_final:: AggregatorFinalPlan ;
107
105
pub use plan_aggregator_partial:: AggregatorPartialPlan ;
108
106
pub use plan_broadcast:: BroadcastPlan ;
109
- pub use plan_database_show_create:: ShowCreateDatabasePlan ;
110
- pub use plan_database_undrop:: UndropDatabasePlan ;
111
107
pub use plan_delete:: DeletePlan ;
112
108
pub use plan_empty:: EmptyPlan ;
113
109
pub use plan_explain:: ExplainPlan ;
Original file line number Diff line number Diff line change @@ -24,3 +24,9 @@ pub use drop_database::DropDatabasePlan;
24
24
mod rename_database;
25
25
pub use rename_database:: RenameDatabaseEntity ;
26
26
pub use rename_database:: RenameDatabasePlan ;
27
+
28
+ mod show_create_database;
29
+ pub use show_create_database:: ShowCreateDatabasePlan ;
30
+
31
+ mod undrop_database;
32
+ pub use undrop_database:: UndropDatabasePlan ;
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 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.
11
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
-
15
14
use std:: sync:: Arc ;
16
15
17
16
use common_datavalues:: DataSchema ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ use std::sync::Arc;
18
18
use common_datablocks:: DataBlock ;
19
19
use common_datavalues:: prelude:: * ;
20
20
use common_exception:: Result ;
21
- use common_legacy_planners :: ShowCreateDatabasePlan ;
21
+ use common_planner :: plans :: ShowCreateDatabasePlan ;
22
22
23
23
use crate :: interpreters:: Interpreter ;
24
24
use crate :: pipelines:: PipelineBuildResult ;
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 :: UndropDatabasePlan ;
18
+ use common_planner :: plans :: UndropDatabasePlan ;
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:: ShowCreateDatabasePlan ;
34
- use common_legacy_planners:: UndropDatabasePlan ;
35
33
use common_meta_app:: schema:: DatabaseMeta ;
36
34
use common_meta_app:: share:: ShareNameIdent ;
37
35
use common_planner:: plans:: CreateDatabasePlan ;
38
36
use common_planner:: plans:: DropDatabasePlan ;
39
37
use common_planner:: plans:: RenameDatabaseEntity ;
40
38
use common_planner:: plans:: RenameDatabasePlan ;
39
+ use common_planner:: plans:: ShowCreateDatabasePlan ;
40
+ use common_planner:: plans:: UndropDatabasePlan ;
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 @@ -74,17 +74,17 @@ use common_legacy_planners::RenameTablePlan;
74
74
use common_legacy_planners:: RevokePrivilegePlan ;
75
75
use common_legacy_planners:: RevokeRolePlan ;
76
76
use common_legacy_planners:: SettingPlan ;
77
- use common_legacy_planners:: ShowCreateDatabasePlan ;
78
77
use common_legacy_planners:: ShowCreateTablePlan ;
79
78
use common_legacy_planners:: ShowGrantsPlan ;
80
79
use common_legacy_planners:: TruncateTablePlan ;
81
- use common_legacy_planners:: UndropDatabasePlan ;
82
80
use common_legacy_planners:: UndropTablePlan ;
83
81
use common_legacy_planners:: UseDatabasePlan ;
84
82
use common_planner:: plans:: CallPlan ;
85
83
use common_planner:: plans:: CreateDatabasePlan ;
86
84
use common_planner:: plans:: DropDatabasePlan ;
87
85
use common_planner:: plans:: RenameDatabasePlan ;
86
+ use common_planner:: plans:: ShowCreateDatabasePlan ;
87
+ use common_planner:: plans:: UndropDatabasePlan ;
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