diff --git a/cli/src/session.rs b/cli/src/session.rs index 8433b89d..907a1fc8 100644 --- a/cli/src/session.rs +++ b/cli/src/session.rs @@ -41,7 +41,7 @@ use crate::display::{format_write_progress, ChunkDisplay, FormatDisplay}; use crate::helper::CliHelper; use crate::VERSION; -static PROMPT_SQL: &str = "select name from system.tables union all select name from system.columns union all select name from system.databases union all select name from system.functions"; +static PROMPT_SQL: &str = "select name from system.tables union all select name from system.columns union all select name from system.databases union all select name from system.functions limit 10000"; static VERSION_SHORT: Lazy = Lazy::new(|| { let version = option_env!("CARGO_PKG_VERSION").unwrap_or("unknown");