File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
src/query/service/src/servers/admin/v1 Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 98
98
with :
99
99
repo : databend-query
100
100
ecr_role_arn : ${{ secrets.ECR_ROLE_ARN }}
101
+ dockerhub_user : ${{ secrets.DOCKERHUB_USERNAME }}
102
+ dockerhub_token : ${{ secrets.DOCKERHUB_TOKEN }}
101
103
- name : Prepare for docker
102
104
id : prepare
103
105
run : |
Original file line number Diff line number Diff line change @@ -68,9 +68,10 @@ async fn load_tenant_tables_stats(tenant: &Tenant) -> Result<TenantTablesStatsRe
68
68
let mut external_stats: BTreeMap < String , TenantTableStatsInfo > = BTreeMap :: new ( ) ;
69
69
let mut warnings: Vec < String > = vec ! [ ] ;
70
70
71
+ let system_dbs = [ "information_schema" , "system" ] ;
71
72
for database in databases {
72
73
let db_name = database. name ( ) . to_lowercase ( ) ;
73
- if db_name == "information_schema" || db_name == "system" {
74
+ if system_dbs . contains ( & db_name. as_str ( ) ) {
74
75
continue ;
75
76
}
76
77
database_count += 1 ;
Original file line number Diff line number Diff line change @@ -71,7 +71,12 @@ async fn load_tenant_tables(tenant: &Tenant) -> Result<TenantTablesResponse> {
71
71
hide_options_in_show_create_table : false ,
72
72
} ;
73
73
74
+ let system_dbs = [ "information_schema" , "system" ] ;
74
75
for database in databases {
76
+ let db_name = database. name ( ) . to_lowercase ( ) ;
77
+ if system_dbs. contains ( & db_name. as_str ( ) ) {
78
+ continue ;
79
+ }
75
80
let database_info = database. get_db_info ( ) ;
76
81
let tables = match catalog. list_tables ( tenant, database. name ( ) ) . await {
77
82
Ok ( v) => v,
You can’t perform that action at this time.
0 commit comments