Skip to content

Commit

Permalink
Fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
xinlifoobar committed Jul 18, 2024
1 parent f3b0791 commit e5e809e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datafusion/sql/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ pub(crate) fn normalize_ident(id: Ident) -> String {

pub(crate) fn normalize_value(value: &Value) -> Result<String> {
match value_to_string(value) {
Some(s) => Ok(s),
Some(s) => Ok(s.to_ascii_lowercase()),
None => exec_err!("Unsupported value to normalize: {:?}", value),
}
}
Expand Down
2 changes: 1 addition & 1 deletion datafusion/sql/tests/sql_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ fn test_parse_options_value_normalization() {
assert_eq!(Some(&v.to_string()), options.get(*k));
});
}
_ => panic!("Expected Ddl(CreateExternalTable) but got {:?}", plan),
_ => panic!("Expected Ddl(CreateExternalTable) or Copy(CopyTo) but got {:?}", plan),
}
} else {
assert_eq!(expected_plan, plan.unwrap_err().strip_backtrace());
Expand Down

0 comments on commit e5e809e

Please sign in to comment.