mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-21 22:44:08 +00:00
Improve error messages with additional colons (#1319)
This commit is contained in:
parent
79af31b672
commit
f16c1afed0
11 changed files with 144 additions and 144 deletions
|
@ -64,7 +64,7 @@ fn test_databricks_exists() {
|
|||
let res = databricks().parse_sql_statements("SELECT EXISTS (");
|
||||
assert_eq!(
|
||||
// TODO: improve this error message...
|
||||
ParserError::ParserError("Expected an expression:, found: EOF".to_string()),
|
||||
ParserError::ParserError("Expected: an expression:, found: EOF".to_string()),
|
||||
res.unwrap_err(),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue