Debian Codegraph @

doc/source/example/reference/commands/logical_select/columns_name_window_group_keys.log

raw
1 Execution example::
2
3 logical_select \
4 --logical_table Entries \
5 --shard_key created_at \
6 --columns[n_likes_sum_per_tag].stage initial \
7 --columns[n_likes_sum_per_tag].type UInt32 \
8 --columns[n_likes_sum_per_tag].value 'window_sum(n_likes)' \
9 --columns[n_likes_sum_per_tag].window.group_keys tag \
10 --sort_keys _key \
11 --output_columns tag,_key,n_likes,n_likes_sum_per_tag
12 # [
13 # [
14 # 0,
15 # 1337566253.89858,
16 # 0.000355720520019531
17 # ],
18 # [
19 # [
20 # [
21 # 5
22 # ],
23 # [
24 # [
25 # "tag",
26 # "ShortText"
27 # ],
28 # [
29 # "_key",
30 # "ShortText"
31 # ],
32 # [
33 # "n_likes",
34 # "UInt32"
35 # ],
36 # [
37 # "n_likes_sum_per_tag",
38 # "UInt32"
39 # ]
40 # ],
41 # [
42 # "Groonga",
43 # "Groonga",
44 # 10,
45 # 25
46 # ],
47 # [
48 # "Groonga",
49 # "Mroonga",
50 # 15,
51 # 25
52 # ],
53 # [
54 # "Hello",
55 # "The first post!",
56 # 5,
57 # 5
58 # ],
59 # [
60 # "Senna",
61 # "Good-bye Senna",
62 # 3,
63 # 6
64 # ],
65 # [
66 # "Senna",
67 # "Good-bye Tritonn",
68 # 3,
69 # 6
70 # ]
71 # ]
72 # ]
73 # ]