You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Jefffrey (via GitHub)" <gi...@apache.org> on 2023/12/31 10:29:21 UTC
[I] `extract(epoch from date)` fails for Date32 and Date64 types [arrow-datafusion]
Jefffrey opened a new issue, #8694:
URL: https://github.com/apache/arrow-datafusion/issues/8694
### Describe the bug
Running in datafusion-cli
```shell
DataFusion CLI v34.0.0
❯ select extract(epoch from '2020-08-16'::date);
Optimizer rule 'simplify_expressions' failed
caused by
Internal error: Can not convert Date32 to epoch.
This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker
❯
```
### To Reproduce
_No response_
### Expected behavior
Should get the number of seconds since Unix epoch
### Additional context
_No response_
--
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@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] `extract(epoch from date)` fails for Date32 and Date64 types [arrow-datafusion]
Posted by "comphead (via GitHub)" <gi...@apache.org>.
comphead closed issue #8694: `extract(epoch from date)` fails for Date32 and Date64 types
URL: https://github.com/apache/arrow-datafusion/issues/8694
--
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@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org