Debian Codegraph @

test/command/suite/select/load_table/no_key.expected

raw
1 table_create Logs TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Logs timestamp COLUMN_SCALAR Time
4 [[0,0.0,0.0],true]
5 table_create LoadedLogs TABLE_NO_KEY
6 [[0,0.0,0.0],true]
7 column_create LoadedLogs original_id COLUMN_SCALAR UInt32
8 [[0,0.0,0.0],true]
9 column_create LoadedLogs timestamp_text COLUMN_SCALAR ShortText
10 [[0,0.0,0.0],true]
11 load --table Logs
12 [
13 {
14 "timestamp": "2015-02-03 10:49:00"
15 },
16 {
17 "timestamp": "2015-02-03 12:49:00"
18 },
19 {
20 "timestamp": "2015-02-04 00:00:00"
21 }
22 ]
23 [[0,0.0,0.0],3]
24 select Logs --load_table LoadedLogs --load_columns "original_id, timestamp_text" --load_values "_id, timestamp" --limit 0
25 [[0,0.0,0.0],[[[3],[["_id","UInt32"],["timestamp","Time"]]]]]
26 select --table LoadedLogs
27 [
28 [
29 0,
30 0.0,
31 0.0
32 ],
33 [
34 [
35 [
36 3
37 ],
38 [
39 [
40 "_id",
41 "UInt32"
42 ],
43 [
44 "original_id",
45 "UInt32"
46 ],
47 [
48 "timestamp_text",
49 "ShortText"
50 ]
51 ],
52 [
53 1,
54 1,
55 "1422928140000000"
56 ],
57 [
58 2,
59 2,
60 "1422935340000000"
61 ],
62 [
63 3,
64 3,
65 "1422975600000000"
66 ]
67 ]
68 ]
69 ]