Skip to content

Commit 8f67249

Browse files
committed
fmt
1 parent a90641b commit 8f67249

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

datafusion-cli/src/helper.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
//! Helper that helps with interactive editing, including multi-line parsing and validation,
1919
//! and auto-completion for file name during creating external table.
2020
21+
use datafusion::common::sql_err;
2122
use datafusion::error::DataFusionError;
2223
use datafusion::sql::parser::{DFParser, Statement};
2324
use datafusion::sql::sqlparser::dialect::dialect_from_str;
@@ -162,9 +163,10 @@ pub fn unescape_input(input: &str) -> datafusion::error::Result<String> {
162163
't' => '\t',
163164
'\\' => '\\',
164165
_ => {
165-
return sql_err!(ParserError::TokenizerError(
166-
format!("unsupported escape char: '\\{}'", next_char),
167-
))
166+
return sql_err!(ParserError::TokenizerError(format!(
167+
"unsupported escape char: '\\{}'",
168+
next_char
169+
),))
168170
}
169171
});
170172
}

0 commit comments

Comments
 (0)