Debian Codegraph @

test/command/suite/column_copy/different.expected

raw
1 table_create SmallNumbers TABLE_HASH_KEY UInt8
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 {"_key": 10, "id_uint8": 11},
8 {"_key": 20, "id_uint8": 22},
9 {"_key": 30, "id_uint8": 33}
10 ]
11 [[0,0.0,0.0],3]
12 table_create LargeNumbers TABLE_HASH_KEY UInt64
13 [[0,0.0,0.0],true]
14 column_create LargeNumbers id_text COLUMN_SCALAR Text
15 [[0,0.0,0.0],true]
16 column_copy SmallNumbers id_uint8 LargeNumbers id_text
17 [[0,0.0,0.0],true]
18 dump --dump_schema no
19 load --table LargeNumbers
20 [
21 ["_key","id_text"],
22 [10,"11"],
23 [20,"22"],
24 [30,"33"]
25 ]
26
27 load --table SmallNumbers
28 [
29 ["_key","id_uint8"],
30 [10,11],
31 [20,22],
32 [30,33]
33 ]