(gdb_arrow)
| 1125 | |
| 1126 | |
| 1127 | def test_table(gdb_arrow): |
| 1128 | expected_table = ( |
| 1129 | 'arrow::Table with 2 columns, 5 rows = {' |
| 1130 | '["ints"] = arrow::ChunkedArray of type arrow::int32(), ' |
| 1131 | 'length 5, null count 0 with 2 chunks = ' |
| 1132 | '{[0] = length 3, offset 0, null count 0, ' |
| 1133 | '[1] = length 2, offset 0, null count 0}, ' |
| 1134 | '["strs"] = arrow::ChunkedArray of type arrow::utf8(), ' |
| 1135 | 'length 5, null count 1 with 3 chunks = ' |
| 1136 | '{[0] = length 2, offset 0, null count 1, ' |
| 1137 | '[1] = length 1, offset 0, null count 0, ' |
| 1138 | '[2] = length 2, offset 0, null count 0}}') |
| 1139 | |
| 1140 | # Same as RecordBatch above (Table vs. SimpleTable) |
| 1141 | check_heap_repr(gdb_arrow, "table", expected_table) |
| 1142 | check_heap_repr(gdb_arrow, "table.get()", expected_table) |
| 1143 | |
| 1144 | |
| 1145 | def test_datum(gdb_arrow): |
nothing calls this directly
no test coverage detected