File tree Expand file tree Collapse file tree 13 files changed +27
-25
lines changed Expand file tree Collapse file tree 13 files changed +27
-25
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,6 @@ mod plan_partition;
49
49
mod plan_projection;
50
50
mod plan_read_datasource;
51
51
mod plan_remote;
52
- mod plan_role_create;
53
- mod plan_role_drop;
54
- mod plan_role_grant;
55
- mod plan_role_revoke;
56
52
mod plan_select;
57
53
mod plan_setting;
58
54
mod plan_sink;
@@ -159,10 +155,6 @@ pub use plan_read_datasource::SourceInfo;
159
155
pub use plan_remote:: RemotePlan ;
160
156
pub use plan_remote:: V1RemotePlan ;
161
157
pub use plan_remote:: V2RemotePlan ;
162
- pub use plan_role_create:: CreateRolePlan ;
163
- pub use plan_role_drop:: DropRolePlan ;
164
- pub use plan_role_grant:: GrantRolePlan ;
165
- pub use plan_role_revoke:: RevokeRolePlan ;
166
158
pub use plan_select:: SelectPlan ;
167
159
pub use plan_setting:: SettingPlan ;
168
160
pub use plan_setting:: VarValue ;
File renamed without changes.
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 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 @@ -18,12 +18,21 @@ pub use call::CallPlan;
18
18
mod create_database;
19
19
pub use create_database:: CreateDatabasePlan ;
20
20
21
+ mod create_role;
22
+ pub use create_role:: CreateRolePlan ;
23
+
21
24
mod drop_database;
22
25
pub use drop_database:: DropDatabasePlan ;
23
26
27
+ mod drop_role;
28
+ pub use drop_role:: DropRolePlan ;
29
+
24
30
mod grant_privilege;
25
31
pub use grant_privilege:: GrantPrivilegePlan ;
26
32
33
+ mod grant_role;
34
+ pub use grant_role:: GrantRolePlan ;
35
+
27
36
mod kill;
28
37
pub use kill:: KillPlan ;
29
38
@@ -37,6 +46,9 @@ pub use rename_database::RenameDatabasePlan;
37
46
mod revoke_privilege;
38
47
pub use revoke_privilege:: RevokePrivilegePlan ;
39
48
49
+ mod revoke_role;
50
+ pub use revoke_role:: RevokeRolePlan ;
51
+
40
52
mod show_create_database;
41
53
pub use show_create_database:: ShowCreateDatabasePlan ;
42
54
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 15
15
use std:: sync:: Arc ;
16
16
17
17
use common_exception:: Result ;
18
- use common_legacy_planners:: CreateRolePlan ;
19
18
use common_meta_types:: RoleInfo ;
19
+ use common_planner:: plans:: CreateRolePlan ;
20
20
use common_users:: UserApiProvider ;
21
21
22
22
use crate :: interpreters:: Interpreter ;
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 :: DropRolePlan ;
18
+ use common_planner :: plans :: DropRolePlan ;
19
19
use common_users:: UserApiProvider ;
20
20
21
21
use crate :: interpreters:: Interpreter ;
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:: GrantRolePlan ;
19
18
use common_meta_types:: PrincipalIdentity ;
19
+ use common_planner:: plans:: GrantRolePlan ;
20
20
use common_users:: UserApiProvider ;
21
21
22
22
use crate :: interpreters:: Interpreter ;
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:: RevokeRolePlan ;
19
18
use common_meta_types:: PrincipalIdentity ;
19
+ use common_planner:: plans:: RevokeRolePlan ;
20
20
use common_users:: UserApiProvider ;
21
21
22
22
use crate :: interpreters:: Interpreter ;
You can’t perform that action at this time.
0 commit comments