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

   **Describe the bug**
   
   Casting from i32 to utf8View is not currently supported
   
   **To Reproduce**
   
   ```
   #[test]
       fn test_cast_i32_to_utf8view() {
           let array = Int32Array::from(vec![5, 6, 7, 8, 9]);
           let b = cast(&array, &DataType::Utf8View).unwrap();
           let c = b.as_any().downcast_ref::<StringViewArray>().unwrap();
           assert_eq!("5", c.value(0));
           assert_eq!("6", c.value(1));
           assert_eq!("7", c.value(2));
           assert_eq!("8", c.value(3));
           assert_eq!("9", c.value(4));
       }
   ```
   
   **Expected behavior**
   
   Casting from i32 to utf8view arrays is supported.
   
   **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: [email protected]

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

Reply via email to