waitingkuo commented on issue #3996:
URL:
https://github.com/apache/arrow-datafusion/issues/3996#issuecomment-1340114871
@comphead this is to align with postgresql to output decimal instead of
decimal which could prevent something like this
```bash
❯ select date_part('millisecond', timestamp '2000-01-01T00:00:09.123456');
+------------------------------------------------------------------+
| datepart(Utf8("millisecond"),Utf8("2000-01-01T00:00:09.123456")) |
+------------------------------------------------------------------+
| 9123.455999999998 |
+------------------------------------------------------------------+
1 row in set. Query took 0.002 seconds.
```
note that this datafusion-cli is from the `date_part_f64` branch
--
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]