mirror of
https://github.com/apache/superset.git
synced 2026-08-04 21:12:44 +00:00
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"schema": {
|
|
"properties": {
|
|
"operation": {
|
|
"description": "Post processing operation type",
|
|
"enum": [
|
|
"aggregate",
|
|
"boxplot",
|
|
"compare",
|
|
"contribution",
|
|
"cum",
|
|
"diff",
|
|
"escape_separator",
|
|
"flatten",
|
|
"geodetic_parse",
|
|
"geohash_decode",
|
|
"geohash_encode",
|
|
"histogram",
|
|
"pivot",
|
|
"prophet",
|
|
"rank",
|
|
"rename",
|
|
"resample",
|
|
"rolling",
|
|
"select",
|
|
"sort",
|
|
"unescape_separator"
|
|
],
|
|
"example": "aggregate",
|
|
"type": "string"
|
|
},
|
|
"options": {
|
|
"description": "Options specifying how to perform the operation. Please refer to the respective post processing operation option schemas. For example, `ChartDataPostProcessingOperationOptions` specifies the required options for the pivot operation.",
|
|
"example": {
|
|
"aggregates": {
|
|
"age_mean": { "column": "age", "operator": "mean" },
|
|
"age_q1": {
|
|
"column": "age",
|
|
"operator": "percentile",
|
|
"options": { "q": 0.25 }
|
|
}
|
|
},
|
|
"groupby": ["country", "gender"]
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"required": ["operation"],
|
|
"type": "object",
|
|
"title": "ChartDataPostProcessingOperation"
|
|
},
|
|
"schemaType": "response"
|
|
}
|