This repository has been archived by the owner on Mar 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 92
/
q7.json
67 lines (67 loc) · 1.87 KB
/
q7.json
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
{
"jsonClass" : "GroupByQuerySpec",
"queryType" : "groupBy",
"dataSource" : "tpch",
"dimensions" : [ {
"jsonClass" : "DefaultDimensionSpec",
"type" : "default",
"dimension" : "s_nation",
"outputName" : "s_nation"
}, {
"jsonClass" : "DefaultDimensionSpec",
"type" : "default",
"dimension" : "c_nation",
"outputName" : "c_nation"
}, {
"jsonClass" : "ExtractionDimensionSpec",
"type" : "extraction",
"dimension" : "__time",
"outputName" : "l_shipdate",
"extractionFn" : {
"jsonClass" : "TimeFormatExtractionFunctionSpec",
"type" : "timeFormat",
"format" : "yyyy"
}
} ],
"granularity" : "all",
"filter" : {
"jsonClass" : "LogicalFilterSpec",
"type" : "or",
"fields" : [ {
"jsonClass" : "LogicalFilterSpec",
"type" : "and",
"fields" : [ {
"jsonClass" : "SelectorFilterSpec",
"type" : "selector",
"dimension" : "s_nation",
"value" : "FRANCE"
}, {
"jsonClass" : "SelectorFilterSpec",
"type" : "selector",
"dimension" : "c_nation",
"value" : "GERMANY"
} ]
}, {
"jsonClass" : "LogicalFilterSpec",
"type" : "and",
"fields" : [ {
"jsonClass" : "SelectorFilterSpec",
"type" : "selector",
"dimension" : "c_nation",
"value" : "FRANCE"
}, {
"jsonClass" : "SelectorFilterSpec",
"type" : "selector",
"dimension" : "s_nation",
"value" : "GERMANY"
} ]
} ]
},
"aggregations" : [ {
"jsonClass" : "FunctionAggregationSpec",
"type" : "doubleSum",
"name" : "alias-1",
"fieldName" : "l_extendedprice"
} ],
"intervals" : [ "1991-12-31T16:00:00.000-08:00/1998-11-30T16:00:00.000-08:00" ]
}