Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/estimate-the-sql-query-execution-cost.RequestSchema.json
2026-07-28 21:39:01 +07:00

48 lines
1.2 KiB
JSON

{
"title": "Body",
"body": {
"content": {
"application/json": {
"schema": {
"properties": {
"catalog": {
"description": "The database catalog",
"nullable": true,
"type": "string"
},
"database_id": {
"description": "The database id",
"type": "integer"
},
"schema": {
"description": "The database schema",
"nullable": true,
"type": "string"
},
"sql": {
"description": "The SQL query to estimate",
"type": "string"
},
"template_params": {
"description": "The SQL query template params",
"type": "object"
}
},
"required": ["database_id", "sql"],
"type": "object",
"title": "EstimateQueryCostSchema"
},
"example": {
"catalog": "string",
"database_id": 1,
"schema": "string",
"sql": "string",
"template_params": {}
}
}
},
"description": "SQL query and params",
"required": true
}
}