test_cast_conformance

Function test_cast_conformance 

Source
pub fn test_cast_conformance(array: &dyn Array)
Expand description

Test conformance of the cast compute function for an array.

This function tests various casting scenarios including:

  • Casting between numeric types (widening and narrowing)
  • Casting between signed and unsigned types
  • Casting between integral and floating-point types
  • Casting with nullability changes
  • Casting between string types (Utf8/Binary)
  • Edge cases like overflow behavior