()
| 1787 | |
| 1788 | |
| 1789 | def test_cast_chunked_array(): |
| 1790 | arrays = [pa.array([1, 2, 3]), pa.array([4, 5, 6])] |
| 1791 | carr = pa.chunked_array(arrays) |
| 1792 | |
| 1793 | target = pa.float64() |
| 1794 | casted = carr.cast(target) |
| 1795 | expected = pa.chunked_array([x.cast(target) for x in arrays]) |
| 1796 | assert casted.equals(expected) |
| 1797 | |
| 1798 | |
| 1799 | def test_cast_chunked_array_empty(): |
nothing calls this directly
no test coverage detected