zhengruifeng commented on PR #58385: URL: https://github.com/apache/spark/pull/58385#issuecomment-5564081334
@szehon-ho Thanks for the approval and good catch. Confirmed that Extract.createExpr dispatches these functions to the same date/time field expressions, so the configurations can affect them depending on the selected field and source type. I added spark.sql.ansi.enabled and spark.sql.session.timeZone to the Scala and Python docs for extract, date_part, and datepart in 1c875411bd3. -- 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]
