File tree Expand file tree Collapse file tree 9 files changed +25
-7
lines changed Expand file tree Collapse file tree 9 files changed +25
-7
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_call;
19
18
mod plan_copy;
20
19
mod plan_database_create;
21
20
mod plan_database_drop;
@@ -111,7 +110,6 @@ mod plan_window_func;
111
110
pub use plan_aggregator_final:: AggregatorFinalPlan ;
112
111
pub use plan_aggregator_partial:: AggregatorPartialPlan ;
113
112
pub use plan_broadcast:: BroadcastPlan ;
114
- pub use plan_call:: CallPlan ;
115
113
pub use plan_copy:: CopyMode ;
116
114
pub use plan_copy:: CopyPlan ;
117
115
pub use plan_copy:: ValidationMode ;
Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ common-catalog = { path = "../catalog" }
11
11
common-datavalues = { path = " ../datavalues" }
12
12
13
13
parking_lot = " 0.12"
14
+ serde = { version = " 1" , features = [" derive" ]}
Original file line number Diff line number Diff line change @@ -29,3 +29,6 @@ pub use metadata::Metadata;
29
29
pub use metadata:: MetadataRef ;
30
30
pub use metadata:: TableEntry ;
31
31
pub use metadata:: DUMMY_TABLE_INDEX ;
32
+
33
+ // Plan will be used publicly.
34
+ pub mod plans;
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
1
+ // Copyright 2022 Datafuse Labs.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ mod call;
16
+ pub use call:: CallPlan ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use std::sync::RwLock;
17
17
18
18
use common_datavalues:: DataSchemaRef ;
19
19
use common_exception:: Result ;
20
- use common_legacy_planners :: CallPlan ;
20
+ use common_planner :: plans :: CallPlan ;
21
21
22
22
use super :: Interpreter ;
23
23
use crate :: pipelines:: PipelineBuildResult ;
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ use common_ast::UDFValidator;
26
26
use common_datavalues:: DataTypeImpl ;
27
27
use common_exception:: Result ;
28
28
use common_legacy_planners:: AlterUserUDFPlan ;
29
- use common_legacy_planners:: CallPlan ;
30
29
use common_legacy_planners:: CreateRolePlan ;
31
30
use common_legacy_planners:: CreateUserUDFPlan ;
32
31
use common_legacy_planners:: DropRolePlan ;
@@ -36,6 +35,7 @@ use common_legacy_planners::DropUserUDFPlan;
36
35
use common_legacy_planners:: ShowGrantsPlan ;
37
36
use common_legacy_planners:: UseDatabasePlan ;
38
37
use common_meta_types:: UserDefinedFunction ;
38
+ use common_planner:: plans:: CallPlan ;
39
39
use common_planner:: MetadataRef ;
40
40
pub use scalar:: ScalarBinder ;
41
41
pub use scalar_common:: * ;
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ use common_legacy_planners::AlterTableClusterKeyPlan;
48
48
use common_legacy_planners:: AlterUserPlan ;
49
49
use common_legacy_planners:: AlterUserUDFPlan ;
50
50
use common_legacy_planners:: AlterViewPlan ;
51
- use common_legacy_planners:: CallPlan ;
52
51
use common_legacy_planners:: CreateDatabasePlan ;
53
52
use common_legacy_planners:: CreateRolePlan ;
54
53
use common_legacy_planners:: CreateUserPlan ;
@@ -85,6 +84,7 @@ use common_legacy_planners::TruncateTablePlan;
85
84
use common_legacy_planners:: UndropDatabasePlan ;
86
85
use common_legacy_planners:: UndropTablePlan ;
87
86
use common_legacy_planners:: UseDatabasePlan ;
87
+ use common_planner:: plans:: CallPlan ;
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