Debian Codegraph @

doc/source/example/reference/window_functions/window_rank/usage_group_descending.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 # 400,
39 # 1
40 # ],
41 # [
42 # "game1",
43 # 200,
44 # 2
45 # ],
46 # [
47 # "game1",
48 # 100,
49 # 3
50 # ],
51 # [
52 # "game1",
53 # 100,
54 # 3
55 # ],
56 # [
57 # "game2",
58 # 200,
59 # 1
60 # ],
61 # [
62 # "game2",
63 # 200,
64 # 1
65 # ],
66 # [
67 # "game2",
68 # 200,
69 # 1
70 # ],
71 # [
72 # "game2",
73 # 150,
74 # 4
75 # ]
76 # ]
77 # ]
78 # ]