Skip to content

Commit

Permalink
append \n not _
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiayu Liu committed May 9, 2021
1 parent 3f37a18 commit 5e1b074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async fn exec_from_lines(
}
query = "".to_owned();
} else {
query.push(' ');
query.push('\n');
}
}
_ => {
Expand Down Expand Up @@ -171,7 +171,7 @@ async fn exec_from_repl(execution_config: ExecutionConfig, print_format: PrintFo
}
Ok(ref line) => {
query.push_str(line);
query.push(' ');
query.push('\n');
}
Err(_) => {
break;
Expand Down

0 comments on commit 5e1b074

Please sign in to comment.