Debian Codegraph @

test/command/suite/tables/array/gc/batch_add_delete_over_buffer.test

raw
1 table_create array TABLE_NO_KEY
2 column_create array index COLUMN_SCALAR UInt32
3
4 # GRN_ARRAY_GARBAGES_BUFFER_SIZE + 1 (array_header::garbages) is 6
5 load --table array
6 [
7 {"index": 1},
8 {"index": 2},
9 {"index": 3},
10 {"index": 4},
11 {"index": 5},
12 {"index": 6},
13 {"index": 7}
14 ]
15 delete array --filter true
16
17 load --table array
18 [
19 {"index": 8},
20 {"index": 9},
21 {"index": 10},
22 {"index": 11},
23 {"index": 12},
24 {"index": 13},
25 {"index": 14}
26 ]
27 select array