(gdb_arrow)
| 1046 | |
| 1047 | |
| 1048 | def test_table(gdb_arrow): |
| 1049 | expected_table = ( |
| 1050 | 'arrow::Table with 2 columns, 5 rows = {' |
| 1051 | '["ints"] = arrow::ChunkedArray of type arrow::int32(), ' |
| 1052 | 'length 5, null count 0 with 2 chunks = ' |
| 1053 | '{[0] = length 3, offset 0, null count 0, ' |
| 1054 | '[1] = length 2, offset 0, null count 0}, ' |
| 1055 | '["strs"] = arrow::ChunkedArray of type arrow::utf8(), ' |
| 1056 | 'length 5, null count 1 with 3 chunks = ' |
| 1057 | '{[0] = length 2, offset 0, null count 1, ' |
| 1058 | '[1] = length 1, offset 0, null count 0, ' |
| 1059 | '[2] = length 2, offset 0, null count 0}}') |
| 1060 | |
| 1061 | # Same as RecordBatch above (Table vs. SimpleTable) |
| 1062 | check_heap_repr(gdb_arrow, "table", expected_table) |
| 1063 | check_heap_repr(gdb_arrow, "table.get()", expected_table) |
| 1064 | |
| 1065 | |
| 1066 | def test_datum(gdb_arrow): |
nothing calls this directly
no test coverage detected