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

   **Describe the bug**
   `cast_to_variant` will panic for values of `Date64` that can not be 
converted to NaiveDate
   
   See the unwrap here: 
https://github.com/apache/arrow-rs/pull/8081#discussion_r2277774507
   
   **To Reproduce**
   
   Pass in some value that is not representable as a NaiveDate (needs research 
to figure out what that could be)
   
   It will panic
   
   **Expected behavior**
   Error or maybe Variant::Null
   
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


-- 
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-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to