-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathx.q
61 lines (41 loc) · 783 Bytes
/
x.q
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// globals
/ rollup expressions
A:()!()
/ universe of columns
E::distinct key[A],cols first T
/ visible columns (in order)
F::E except G,I
/ grouping columns
G:()
/ groupable columns
H::exec c from meta first T where t in"bhijspmdznuvt"
/ invisible columns
I::E except G,F
/ json infinity check
J:0b
/ expand to leaves
L:1b
/ object properties
O.:(::)
/ instruction state = (current;prior)
P:.ht.P
/ q types of each column
Q::.ht.qtype get Z
/ rows -> gui
R:`start`end!0 60
/ sorts = cols!(..{`a`d`A`D}..)
S:.ht.S
/ table
T:`
/ drill to underlying table = allow no groups
U:0b
/ pop up grouping/visibility panel
V:1b
/ pivot state = ((z-col;Q);selects;groups)
W:.ht.W
/ allow X-axis drilldown (pivot)
X:1b
/ allow Y-axis drilldown (treetable)
Y:1b
/ treetable
Z:`