refactor:remove common_error::prelude (#1946)

* feat:Remove common_error::prelude

* fix merge error

* cr comment

* fix error
This commit is contained in:
Ben Baoyi
2023-07-13 10:36:36 +08:00
committed by GitHub
parent 16be56a743
commit 9ff7670adf
104 changed files with 179 additions and 150 deletions

View File

@@ -20,7 +20,7 @@ use catalog::remote::CachedMetaKvBackend;
use client::client_manager::DatanodeClients;
use client::{Client, Database, DEFAULT_CATALOG_NAME, DEFAULT_SCHEMA_NAME};
use common_base::Plugins;
use common_error::prelude::ErrorExt;
use common_error::ext::ErrorExt;
use common_meta::key::TableMetadataManager;
use common_query::Output;
use common_recordbatch::RecordBatches;

View File

@@ -14,10 +14,11 @@
use std::any::Any;
use common_error::prelude::*;
use common_error::ext::ErrorExt;
use common_error::status_code::StatusCode;
use config::ConfigError;
use rustyline::error::ReadlineError;
use snafu::Location;
use snafu::{Location, Snafu};
#[derive(Debug, Snafu)]
#[snafu(visibility(pub))]