You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Jefffrey (via GitHub)" <gi...@apache.org> on 2026/08/06 12:09:45 UTC

Re: [PR] feat: make `date_part` always return Float64 [datafusion]

Jefffrey commented on PR #22851:
URL: https://github.com/apache/datafusion/pull/22851#issuecomment-5204450105

   Spark and [DuckDB](https://duckdb.org/docs/lts/sql/functions/datepart) seem to behave similarly to DataFusion in having return types depend on the field being extracted
   
   I'm not sure if we aiming for strict postgres compatibility


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org