Tangruilin opened a new issue, #5044:
URL: https://github.com/apache/arrow-rs/issues/5044

   **Describe the bug**
   when cast string like '19990819' to Date32, it will give a error, but for 
'1999-08-19' it secceed
   
   **To Reproduce**
   In arrow-datafusion
   For a date column run a query with the date in string format 'yyyymmdd' as 
shown below
   ```
   --this query fails
   select * from orders where o_orderdate = '19961006'
   ```
   it get 
   ```
   Arrow error: Cast error: Cannot cast string '19961006' to value of Date32 
type
   ```
   
   **Expected behavior**
   This should return the correct result and not fail
   
   
   **Additional context**


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