dd-annarose commented on PR #24334:
URL: https://github.com/apache/datafusion/pull/24334#issuecomment-5295014955
@Jefffrey ah yes, the issue is not correct, I misread.
Postgres does support `SELECT date_part(CAST('year' as VARCHAR), now());`
and it feels like a good addition to DataFusion. If constant-folding was
happening before `date_part` had to determine its return type, it wouldn't be
an issue because of the constant-folding. So it seems like a good addition.
--
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]