JosephLenton commented on code in PR #24052:
URL: https://github.com/apache/datafusion/pull/24052#discussion_r3722066252
##########
datafusion/expr/src/logical_plan/builder.rs:
##########
@@ -283,7 +283,7 @@ impl LogicalPlanBuilder {
&& !can_cast_types(&data_type, field_type)
{
return exec_err!(
- "type mismatch and can't cast to got {} and {}",
+ "Type mismatch and can't cast, received data of type
{} for field of type {}",
Review Comment:
Hey @nuno-faria I like your wording a lot, so I have updated it to that!
--
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]