Adam-Alani commented on PR #23997:
URL: https://github.com/apache/datafusion/pull/23997#issuecomment-5205031001
> why do you need to call `SELECT date_part(CAST('epoch' AS VARCHAR),
timestamp '1970-01-01T00:00:01')`? why not directly `SELECT date_part('epoch',
timestamp '1970-01-01T00:00:01')`?
@dd-annarose We're seeing cases of this pop up, not by hand written queries,
but by generated optimized physical plans. In some cases, for example calcite,
wraps the column in this cast. Anyways, a cast like this shouldnt break
execution of a function
--
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]