Omega359 commented on issue #14884: URL: https://github.com/apache/datafusion/issues/14884#issuecomment-2686313231
I went looking for a system where null input would return an empty string an came up blank. I am fairly certain spark would return null, and the equiv function in duckdb returns null ``` D select strftime(null::timestamp, '%Y-%m-%d %H:%M:%S'); ┌────────────────────────────────────────────────────────┐ │ strftime(CAST(NULL AS TIMESTAMP), '%Y-%m-%d %H:%M:%S') │ │ varchar │ ├────────────────────────────────────────────────────────┤ │ NULL │ └────────────────────────────────────────────────────────┘ ``` -- 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-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org