(gdb_arrow)
| 783 | |
| 784 | |
| 785 | def test_scalars_heap(gdb_arrow): |
| 786 | check_heap_repr(gdb_arrow, "heap_null_scalar", "arrow::NullScalar") |
| 787 | check_heap_repr(gdb_arrow, "heap_bool_scalar", |
| 788 | "arrow::BooleanScalar of value true") |
| 789 | check_heap_repr( |
| 790 | gdb_arrow, "heap_decimal32_scalar", |
| 791 | "arrow::Decimal32Scalar of value 123.4567 [precision=9, scale=4]") |
| 792 | check_heap_repr( |
| 793 | gdb_arrow, "heap_decimal64_scalar", |
| 794 | ("arrow::Decimal64Scalar of value 1234567890123.4567 " |
| 795 | "[precision=18, scale=4]")) |
| 796 | check_heap_repr( |
| 797 | gdb_arrow, "heap_decimal128_scalar", |
| 798 | "arrow::Decimal128Scalar of value 123.4567 [precision=10, scale=4]") |
| 799 | check_heap_repr( |
| 800 | gdb_arrow, "heap_decimal256_scalar", |
| 801 | ("arrow::Decimal256Scalar of value " |
| 802 | "123456789012345678901234567890123456789012.3456 " |
| 803 | "[precision=50, scale=4]")) |
| 804 | |
| 805 | check_heap_repr( |
| 806 | gdb_arrow, "heap_map_scalar", |
| 807 | ('arrow::MapScalar of type arrow::map(arrow::utf8(), arrow::int32(), ' |
| 808 | 'keys_sorted=false), value length 2, offset 0, null count 0')) |
| 809 | check_heap_repr( |
| 810 | gdb_arrow, "heap_map_scalar_null", |
| 811 | ('arrow::MapScalar of type arrow::map(arrow::utf8(), arrow::int32(), ' |
| 812 | 'keys_sorted=false), null value')) |
| 813 | |
| 814 | |
| 815 | def test_array_data(gdb_arrow): |
nothing calls this directly
no test coverage detected