-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathexecute_compute_table_all_columns.yaml
More file actions
408 lines (408 loc) · 13.5 KB
/
execute_compute_table_all_columns.yaml
File metadata and controls
408 lines (408 loc) · 13.5 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
# (C) 2026 GoodData Corporation
version: 1
interactions:
- request:
method: POST
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute
body:
execution:
attributes:
- label:
identifier:
id: products.category
type: label
localIdentifier: products_category
- label:
identifier:
id: product_name
type: label
localIdentifier: products_product_name
filters: []
measures:
- definition:
measure:
item:
identifier:
id: quantity
type: fact
aggregation: SUM
computeRatio: false
filters: []
localIdentifier: quantity
- definition:
measure:
item:
identifier:
id: price
type: fact
aggregation: SUM
computeRatio: false
filters: []
localIdentifier: price
- definition:
measure:
item:
identifier:
id: percent_revenue_in_category
type: metric
computeRatio: false
filters: []
localIdentifier: percent_revenue_in_category
- definition:
measure:
item:
identifier:
id: revenue
type: metric
computeRatio: false
filters: []
localIdentifier: revenue
resultSpec:
dimensions:
- itemIdentifiers:
- products_category
- products_product_name
localIdentifier: dim_0
- itemIdentifiers:
- measureGroup
localIdentifier: dim_1
headers:
Accept:
- application/json
Accept-Encoding:
- br, gzip, deflate
Content-Type:
- application/json
X-GDC-VALIDATE-RELATIONS:
- 'true'
X-Requested-With:
- XMLHttpRequest
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache, no-store, max-age=0, must-revalidate
Content-Length:
- '1128'
Content-Type:
- application/json
DATE: &id001
- PLACEHOLDER
Expires:
- '0'
Pragma:
- no-cache
Referrer-Policy:
- no-referrer
Vary:
- Origin
- Access-Control-Request-Method
- Access-Control-Request-Headers
X-Content-Type-Options:
- nosniff
X-Gdc-Cancel-Token:
- 4b12a06a-487e-46d5-9d60-488e15b57c40
X-GDC-TRACE-ID: *id001
X-Xss-Protection:
- '0'
body:
string:
executionResponse:
dimensions:
- headers:
- attributeHeader:
localIdentifier: products_category
label:
id: products.category
type: label
labelName: Category
attribute:
id: products.category
type: attribute
attributeName: Category
granularity: null
primaryLabel:
id: products.category
type: label
valueType: TEXT
- attributeHeader:
localIdentifier: products_product_name
label:
id: product_name
type: label
labelName: Product name
attribute:
id: product_name
type: attribute
attributeName: Product name
granularity: null
primaryLabel:
id: product_name
type: label
valueType: TEXT
localIdentifier: dim_0
- headers:
- measureGroupHeaders:
- localIdentifier: quantity
- localIdentifier: price
- localIdentifier: percent_revenue_in_category
format: '#,##0.0%'
name: '% Revenue in Category'
- localIdentifier: revenue
format: $#,##0
name: Revenue
localIdentifier: dim_1
links:
executionResult: f6a00a91124ea1040b01c1b8831adb92ba7f5ba4:e6b88a13de23c82db3678aa8f42c5d60a1b645f5fa3d308fbe393dd69ac4e41f
- request:
method: GET
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f6a00a91124ea1040b01c1b8831adb92ba7f5ba4%3Ae6b88a13de23c82db3678aa8f42c5d60a1b645f5fa3d308fbe393dd69ac4e41f?offset=0%2C0&limit=512%2C256
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- br, gzip, deflate
X-GDC-VALIDATE-RELATIONS:
- 'true'
X-Requested-With:
- XMLHttpRequest
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache, no-store, max-age=0, must-revalidate
Content-Length:
- '3913'
Content-Type:
- application/json
DATE: *id001
Expires:
- '0'
Pragma:
- no-cache
Referrer-Policy:
- no-referrer
Vary:
- Origin
- Access-Control-Request-Method
- Access-Control-Request-Headers
X-Content-Type-Options:
- nosniff
X-GDC-TRACE-ID: *id001
X-Xss-Protection:
- '0'
body:
string:
data:
- - 449.0
- 14172.94
- 0.17725916115332446
- 16744.48
- - 172.0
- 7085.17
- 0.07819070840973427
- 7386.15
- - 727.0
- 15526.79
- 0.18452791227743862
- 17431.11
- - 854.0
- 15245.54
- 0.17461697017263958
- 16494.89
- - 557.0
- 16808.84
- 0.19551673364684496
- 18469.15
- - 1096.0
- 17039.34
- 0.1898885143400181
- 17937.49
- - 149.0
- 14153.1
- 0.15973175146727148
- 14421.37
- - 253.0
- 12370.9
- 0.14394284849088326
- 12995.87
- - 571.0
- 40159.21
- 0.48763974231358437
- 44026.52
- - 735.0
- 17357.08
- 0.20868565772826095
- 18841.17
- - 144.0
- 4569.47
- 0.06838997246733888
- 4725.73
- - 258.0
- 16834.96
- 0.25553420960278433
- 17657.35
- - 386.0
- 37281.63
- 0.5833271466249879
- 40307.76
- - 542.0
- 5977.51
- 0.09274867130488894
- 6408.91
- - 147.0
- 30956.84
- 0.16556859291478074
- 34697.71
- - 58.0
- 29355.68
- 0.13199641470235435
- 27662.09
- - 63.0
- 43015.28
- 0.22793065968694112
- 47766.74
- - 71.0
- 92554.17
- 0.47450433269592374
- 99440.44
dimensionHeaders:
- headerGroups:
- headers:
- attributeHeader:
labelValue: Clothing
primaryLabelValue: Clothing
- attributeHeader:
labelValue: Clothing
primaryLabelValue: Clothing
- attributeHeader:
labelValue: Clothing
primaryLabelValue: Clothing
- attributeHeader:
labelValue: Clothing
primaryLabelValue: Clothing
- attributeHeader:
labelValue: Clothing
primaryLabelValue: Clothing
- attributeHeader:
labelValue: Clothing
primaryLabelValue: Clothing
- attributeHeader:
labelValue: Electronics
primaryLabelValue: Electronics
- attributeHeader:
labelValue: Electronics
primaryLabelValue: Electronics
- attributeHeader:
labelValue: Electronics
primaryLabelValue: Electronics
- attributeHeader:
labelValue: Electronics
primaryLabelValue: Electronics
- attributeHeader:
labelValue: Home
primaryLabelValue: Home
- attributeHeader:
labelValue: Home
primaryLabelValue: Home
- attributeHeader:
labelValue: Home
primaryLabelValue: Home
- attributeHeader:
labelValue: Home
primaryLabelValue: Home
- attributeHeader:
labelValue: Outdoor
primaryLabelValue: Outdoor
- attributeHeader:
labelValue: Outdoor
primaryLabelValue: Outdoor
- attributeHeader:
labelValue: Outdoor
primaryLabelValue: Outdoor
- attributeHeader:
labelValue: Outdoor
primaryLabelValue: Outdoor
- headers:
- attributeHeader:
labelValue: Polo Shirt
primaryLabelValue: Polo Shirt
- attributeHeader:
labelValue: Pullover
primaryLabelValue: Pullover
- attributeHeader:
labelValue: Shorts
primaryLabelValue: Shorts
- attributeHeader:
labelValue: Skirt
primaryLabelValue: Skirt
- attributeHeader:
labelValue: Slacks
primaryLabelValue: Slacks
- attributeHeader:
labelValue: T-Shirt
primaryLabelValue: T-Shirt
- attributeHeader:
labelValue: Artego
primaryLabelValue: Artego
- attributeHeader:
labelValue: Compglass
primaryLabelValue: Compglass
- attributeHeader:
labelValue: Magnemo
primaryLabelValue: Magnemo
- attributeHeader:
labelValue: PortaCode
primaryLabelValue: PortaCode
- attributeHeader:
labelValue: Applica
primaryLabelValue: Applica
- attributeHeader:
labelValue: ChalkTalk
primaryLabelValue: ChalkTalk
- attributeHeader:
labelValue: Optique
primaryLabelValue: Optique
- attributeHeader:
labelValue: Peril
primaryLabelValue: Peril
- attributeHeader:
labelValue: Biolid
primaryLabelValue: Biolid
- attributeHeader:
labelValue: Elentrix
primaryLabelValue: Elentrix
- attributeHeader:
labelValue: Integres
primaryLabelValue: Integres
- attributeHeader:
labelValue: Neptide
primaryLabelValue: Neptide
- headerGroups:
- headers:
- measureHeader:
measureIndex: 0
- measureHeader:
measureIndex: 1
- measureHeader:
measureIndex: 2
- measureHeader:
measureIndex: 3
grandTotals: []
paging:
count:
- 18
- 4
offset:
- 0
- 0
total:
- 18
- 4
metadata:
dataSourceMessages: []