jayzhan211 commented on PR #12864:
URL: https://github.com/apache/datafusion/pull/12864#issuecomment-2437192214
It seems the query is accidentally correct in before this change, because we
don't know the result of the function when we build up Values plan. After this
change, incorrect values ('abcd') is cast to column a instead of the result of
the function.
The ideally solution is to find the result type of the function and check
whether it matches the column type.
btw, I wonder is this query valid in postgres or elsewhere?
--
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]