Debian Codegraph @

test/command/suite/column_copy/both_array.expected

raw
1 table_create SmallNumbers TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create SmallNumbers id_uint8 COLUMN_SCALAR UInt8
4 [[0,0.0,0.0],true]
5 load --table SmallNumbers
6 [
7 {"id_uint8": 11},
8 {"id_uint8": 22},
9 {"id_uint8": 33}
10 ]
11 [[0,0.0,0.0],3]
12 table_create LargeNumbers TABLE_NO_KEY
13 [[0,0.0,0.0],true]
14 column_create LargeNumbers id_text COLUMN_SCALAR Text
15 [[0,0.0,0.0],true]
16 table_copy SmallNumbers LargeNumbers
17 [[0,0.0,0.0],true]
18 column_copy SmallNumbers id_uint8 LargeNumbers id_text
19 [[0,0.0,0.0],true]
20 dump --dump_schema no
21 load --table LargeNumbers
22 [
23 ["_id","id_text"],
24 [1,"11"],
25 [2,"22"],
26 [3,"33"]
27 ]
28
29 load --table SmallNumbers
30 [
31 ["_id","id_uint8"],
32 [1,11],
33 [2,22],
34 [3,33]
35 ]