alamb commented on code in PR #17888:
URL: https://github.com/apache/datafusion/pull/17888#discussion_r2460773953
##########
datafusion/sqllogictest/test_files/dates.slt:
##########
@@ -85,9 +85,14 @@ g
h
## Plan error when compare Utf8 and timestamp in where clause
-statement error DataFusion error: type_coercion\ncaused by\nError during
planning: Cannot coerce arithmetic expression Timestamp\(Nanosecond,
Some\("\+00:00"\)\) \+ Utf8 to valid types
+statement error
select i_item_desc from test
where d3_date > now() + '5 days';
+----
+DataFusion error: type_coercion
+caused by
+Error during planning: Cannot coerce arithmetic expression Timestamp(ns,
"+00:00") + Utf8 to valid types
Review Comment:
I think it can be either (this change was created by running with
`--complete`)
I believe when the message comes after the query it can contain multiple
lines (aka if the error itself actually contains `\n')
--
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]