andygrove commented on issue #41:
URL: 
https://github.com/apache/datafusion-spark/issues/41#issuecomment-6865760510

   More functions in the same class. Each one fails at planning time in 
`datafusion-spark` on `main`, and each returns a value in PySpark 4.2.0 (ANSI 
on):
   
   | query | datafusion-spark | Spark 4.2.0 |
   |---|---|---|
   | `add_months('2024-01-31', 1)` | "Failed to coerce arguments" | 
`2024-02-29` |
   | `date_add('2024-01-01', 1)` | "Failed to coerce arguments" | `2024-01-02` |
   | `hour('2024-01-01 12:34:56')` | "Function 'hour' requires Timestamp, but 
received String" | `12` |
   | `minute('2024-01-01 12:34:56')` | same | `34` |
   | `second('2024-01-01 12:34:56')` | same | `56` |
   
   `last_day` and `weekday` from the table above still fail the same way here. 
The docs added in #106 describe these as known differences.
   


-- 
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]

Reply via email to