Skip to content

Commit 8a8850c

Browse files
committed
Change default explain plan to tree
1 parent 0a2e422 commit 8a8850c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

datafusion-cli/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ async fn main_inner() -> Result<()> {
155155
if let Some(batch_size) = args.batch_size {
156156
session_config = session_config.with_batch_size(batch_size);
157157
};
158+
// use easier to understand "tree" mode by default
159+
session_config.options_mut().explain.format = String::from("tree");
158160

159161
let mut rt_builder = RuntimeEnvBuilder::new();
160162
// set memory pool size
@@ -437,4 +439,5 @@ mod tests {
437439

438440
Ok(())
439441
}
442+
440443
}

0 commit comments

Comments
 (0)