Explain plan for : select sum(values) from fact_table where names in (select name from names_table)
{
"queryType": "timeseries",
"dataSource": {
"type": "join",
"left": {
"type": "table",
"name": "fact_table"
},
"right": {
"type": "query",
"query": {
"queryType": "groupBy",
"dataSource": {
"type": "query",
"query": {
"queryType": "scan",
"dataSource": {
"type": "table",
"name": "names_table"
},
"intervals": {
"type": "intervals",
"intervals": [
"-146136543-09-08T082332.096Z/146140482-04-24T153627.903Z"
]
},
"resultFormat": "compactedList",
"columns": [
"names"
],
"legacy": false,
"context": {
"enableWindowing": "True",
"queryId": "4321",
"sqlOuterLimit": 1001,
"sqlQueryId": "1234",
"sqlStringifyArrays": false,
"useNativeQueryExplain": true
},
"granularity": {
"type": "all"
}
}
},
"intervals": {
"type": "intervals",
"intervals": [
"-146136543-09-08T082332.096Z/146140482-04-24T153627.903Z"
]
},
"granularity": {
"type": "all"
},
"dimensions": [
{
"type": "default",
"dimension": "names",
"outputName": "d0",
"outputType": "STRING"
}
],
"limitSpec": {
"type": "NoopLimitSpec"
},
"context": {
"enableWindowing": "True",
"queryId": "abcd",
"sqlOuterLimit": 1001,
"sqlQueryId": "efgh",
"sqlStringifyArrays": false,
"useNativeQueryExplain": true
}
}
},
"rightPrefix": "j0.",
"condition": "(\"names\" == \"j0.d0\")",
"joinType": "INNER"
},
"intervals": {
"type": "intervals",
"intervals": [
"-146136543-09-08T082332.096Z/146140482-04-24T153627.903Z"
]
},
"granularity": {
"type": "all"
},
"aggregations": [
{
"type": "doubleSum",
"name": "a0",
"fieldName": "value"
}
],
"context": {
"enableWindowing": "True",
"queryId": "48845376-2226-4374-b82e-02b9ffb5ecee",
"sqlOuterLimit": 1001,
"sqlQueryId": "48845376-2226-4374-b82e-02b9ffb5ecee",
"sqlStringifyArrays": false,
"useNativeQueryExplain": true
}
}