Debian Codegraph @

doc/source/example/reference/window_functions/window_rank/usage_group.log

raw
1 Execution example::
2
3 select Points \
4 --columns[rank].stage filtered \
5 --columns[rank].value 'window_rank()' \
6 --columns[rank].type UInt32 \
7 --columns[rank].window.group_keys game \
8 --columns[rank].window.sort_keys score \
9 --output_columns 'game, score, rank' \
10 --sort_keys game,score
11 # [
12 # [
13 # 0,
14 # 1337566253.89858,
15 # 0.000355720520019531
16 # ],
17 # [
18 # [
19 # [
20 # 8
21 # ],
22 # [
23 # [
24 # "game",
25 # "ShortText"
26 # ],
27 # [
28 # "score",
29 # "UInt32"
30 # ],
31 # [
32 # "rank",
33 # "UInt32"
34 # ]
35 # ],
36 # [
37 # "game1",
38 # 100,
39 # 1
40 # ],
41 # [
42 # "game1",
43 # 100,
44 # 1
45 # ],
46 # [
47 # "game1",
48 # 200,
49 # 3
50 # ],
51 # [
52 # "game1",
53 # 400,
54 # 4
55 # ],
56 # [
57 # "game2",
58 # 150,
59 # 1
60 # ],
61 # [
62 # "game2",
63 # 200,
64 # 2
65 # ],
66 # [
67 # "game2",
68 # 200,
69 # 2
70 # ],
71 # [
72 # "game2",
73 # 200,
74 # 2
75 # ]
76 # ]
77 # ]
78 # ]