cj-zhukov commented on code in PR #14113:
URL: https://github.com/apache/datafusion/pull/14113#discussion_r1914318162
##########
datafusion/expr/src/expr_rewriter/mod.rs:
##########
@@ -462,10 +462,11 @@ mod test {
normalize_col_with_schemas_and_ambiguity_check(expr, &[&schemas],
&[])
.unwrap_err()
.strip_backtrace();
- assert_eq!(
- error,
- r#"Schema error: No field named b. Valid fields are "tableA".a."#
- );
+ let expected = "Schema error: No field named b. \
+ You can use double quotes to refer to the \"b\" column \
+ or set the datafusion.sql_parser.enable_ident_normalization
configuration option. \
+ Valid fields are \"tableA\".a.";
Review Comment:
Andrew, it's a great point! I'll change it to make more clear.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]