From f634bde1f13d4507872b12d73c4043f510d9dfdb Mon Sep 17 00:00:00 2001 From: shuiyisong Date: Tue, 17 Oct 2023 15:54:09 +0800 Subject: [PATCH] chore: skip information schema --- src/cmd/src/cli/export.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cmd/src/cli/export.rs b/src/cmd/src/cli/export.rs index cf5f442ec456..7424e9e49306 100644 --- a/src/cmd/src/cli/export.rs +++ b/src/cmd/src/cli/export.rs @@ -142,6 +142,9 @@ impl Export { let mut result = Vec::with_capacity(schemas.len()); for i in 0..schemas.len() { let schema = schemas.get_data(i).unwrap().to_owned(); + if schema == common_catalog::consts::INFORMATION_SCHEMA_NAME { + continue; + } result.push((self.catalog.clone(), schema)); } Ok(result)