Skip to content

Commit

Permalink
chore: Disable max_rows limit in explain query (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
sundy-li authored Aug 10, 2023
1 parent ef8ddc0 commit f56ae7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ fn create_table(
schema: SchemaRef,
results: &[Row],
replace_newline: bool,
max_rows: usize,
mut max_rows: usize,
mut max_width: usize,
max_col_width: usize,
) -> Result<Table> {
Expand All @@ -419,6 +419,7 @@ fn create_table(

if !replace_newline {
max_width = usize::MAX;
max_rows = usize::MAX;
}

let row_count: usize = results.len();
Expand Down

0 comments on commit f56ae7a

Please sign in to comment.