Debian Codegraph @

test/command/suite/select/load_table/invalid/too_much_columns.expected

raw
1 table_create Logs TABLE_HASH_KEY ShortText
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_HASH_KEY ShortText
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 "_key": "2015-02-03:1",
15 "timestamp": "2015-02-03 10:49:00"
16 },
17 {
18 "_key": "2015-02-03:2",
19 "timestamp": "2015-02-03 12:49:00"
20 },
21 {
22 "_key": "2015-02-04:1",
23 "timestamp": "2015-02-04 00:00:00"
24 }
25 ]
26 [[0,0.0,0.0],3]
27 select Logs --load_table LoadedLogs --load_columns "original_id, timestamp_text, _key" --load_values "_id, timestamp"
28 [
29 [
30 [
31 -22,
32 0.0,
33 0.0
34 ],
35 "[select][load] failed to load: <_id, timestamp>: [output-columns][apply] the number of columns (3) must be 2: [<LoadedLogs.orig"
36 ]
37 ]
38 #|e| [output-columns][apply] the number of columns (3) must be 2: [<LoadedLogs.original_id>, <LoadedLogs.timestamp_text>, #<accessor _key(LoadedLogs)>]
39 #|e| [select][load] failed to load: <_id, timestamp>: [output-columns][apply] the number of columns (3) must be 2: [<LoadedLogs.original_id>, <LoadedLogs.timestamp_text>, #<accessor
40 select --table LoadedLogs
41 [
42 [
43 0,
44 0.0,
45 0.0
46 ],
47 [
48 [
49 [
50 0
51 ],
52 [
53 [
54 "_id",
55 "UInt32"
56 ],
57 [
58 "_key",
59 "ShortText"
60 ],
61 [
62 "original_id",
63 "UInt32"
64 ],
65 [
66 "timestamp_text",
67 "ShortText"
68 ]
69 ]
70 ]
71 ]
72 ]