Skip to content

Commit 30b5060

Browse files
authored
feat(query): support policy_reference table function (#18944)
1 parent e501c3a commit 30b5060

File tree

5 files changed

+744
-0
lines changed

5 files changed

+744
-0
lines changed

src/query/service/src/table_functions/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ mod inspect_parquet;
2121
mod list_stage;
2222
mod numbers;
2323
mod others;
24+
mod policy_references;
2425
mod show_grants;
2526
mod show_roles;
2627
mod show_sequences;
@@ -38,6 +39,7 @@ pub use numbers::NumbersPartInfo;
3839
pub use numbers::NumbersTable;
3940
pub use others::LicenseInfoTable;
4041
pub use others::TenantQuotaTable;
42+
pub use policy_references::PolicyReferencesTable;
4143
pub use system::get_fuse_table_snapshot;
4244
pub use system::get_fuse_table_statistics;
4345
pub use system::TableStatisticsFunc;
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Copyright 2021 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 policy_references_table;
16+
17+
pub use policy_references_table::PolicyReferencesTable;

0 commit comments

Comments
 (0)