()
| 1797 | |
| 1798 | |
| 1799 | def test_cast_chunked_array_empty(): |
| 1800 | # ARROW-8142 |
| 1801 | for typ1, typ2 in [(pa.dictionary(pa.int8(), pa.string()), pa.string()), |
| 1802 | (pa.int64(), pa.int32())]: |
| 1803 | |
| 1804 | arr = pa.chunked_array([], type=typ1) |
| 1805 | result = arr.cast(typ2) |
| 1806 | expected = pa.chunked_array([], type=typ2) |
| 1807 | assert result.equals(expected) |
| 1808 | |
| 1809 | |
| 1810 | def test_chunked_array_data_warns(): |
nothing calls this directly
no test coverage detected