findepi commented on issue #13625:
URL: https://github.com/apache/datafusion/issues/13625#issuecomment-2514335731
> Caused by:
> Error during planning: Error during planning: Coercion from [Utf8,
Utf8View] to the signature OneOf([Exact([Utf8, Timestamp(Nanosecond, None)]),
Exact([Utf8View, Timestamp(Nanosecond, None)]), Exact([Utf8,
Timestamp(Nanosecond, Some("+TZ"))]), Exact([Utf8View, Timestamp(Nanosecond,
Some("+TZ"))]), Exact([Utf8, Timestamp(Millisecond, None)]), Exact([Utf8View,
Timestamp(Millisecond, None)]), Exact([Utf8, Timestamp(Millisecond,
Some("+TZ"))]), Exact([Utf8View, Timestamp(Millisecond, Some("+TZ"))]),
Exact([Utf8, Timestamp(Microsecond, None)]), Exact([Utf8View,
Timestamp(Microsecond, None)]), Exact([Utf8, Timestamp(Microsecond,
Some("+TZ"))]), Exact([Utf8View, Timestamp(Microsecond, Some("+TZ"))]),
Exact([Utf8, Timestamp(Second, None)]), Exact([Utf8View, Timestamp(Second,
None)]), Exact([Utf8, Timestamp(Second, Some("+TZ"))]), Exact([Utf8View,
Timestamp(Second, Some("+TZ"))]), Exact([Utf8, Date64]), Exact([Utf8View,
Date64]), Exact([Utf8, Date32]), Exact([Utf8View, Date32]), Exac
t([Utf8, Time32(Second)]), Exact([Utf8View, Time32(Second)]), Exact([Utf8,
Time32(Millisecond)]), Exact([Utf8View, Time32(Millisecond)]), Exact([Utf8,
Time64(Microsecond)]), Exact([Utf8View, Time64(Microsecond)]), Exact([Utf8,
Time64(Nanosecond)]), Exact([Utf8View, Time64(Nanosecond)]), Exact([Utf8,
Interval(YearMonth)]), Exact([Utf8View, Interval(YearMonth)]), Exact([Utf8,
Interval(DayTime)]), Exact([Utf8View, Interval(DayTime)]), Exact([Utf8,
Interval(MonthDayNano)]), Exact([Utf8View, Interval(MonthDayNano)]),
Exact([Utf8, Duration(Second)]), Exact([Utf8View, Duration(Second)]),
Exact([Utf8, Duration(Millisecond)]), Exact([Utf8View, Duration(Millisecond)]),
Exact([Utf8, Duration(Microsecond)]), Exact([Utf8View, Duration(Microsecond)]),
Exact([Utf8, Duration(Nanosecond)]), Exact([Utf8View, Duration(Nanosecond)])])
failed.
i wonder which query operation could have produced this error.
In current code base, "Coercion from ... to the signature" seems to be
produced by function-related coecions, but in the query there is no function
call, unless `logs` is a view. In such case, knowing the view definition can be
necessary to reproduce the error.
In any case, here is a proposal to improve the error message:
https://github.com/apache/datafusion/pull/13628
--
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]