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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to