diff --git a/superset-frontend/src/SqlLab/actions/sqlLab.js b/superset-frontend/src/SqlLab/actions/sqlLab.js index 4d0091b4052..2c6a6e47b51 100644 --- a/superset-frontend/src/SqlLab/actions/sqlLab.js +++ b/superset-frontend/src/SqlLab/actions/sqlLab.js @@ -338,7 +338,6 @@ export function runQuery(query, runPreviewOnly) { const postPayload = { client_id: query.id, database_id: query.dbId, - json: true, runAsync: query.runAsync, catalog: query.catalog, schema: query.schema, diff --git a/superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.jsx b/superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.jsx index 30b499bed5c..a5ad47aefa9 100644 --- a/superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.jsx +++ b/superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.jsx @@ -740,7 +740,6 @@ class DatasourceEditor extends PureComponent { this.props.runQuery({ client_id: this.props.clientId, database_id: this.state.datasource.database.id, - json: true, runAsync: false, catalog: this.state.datasource.catalog, schema: this.state.datasource.schema, diff --git a/superset-frontend/src/database/types.ts b/superset-frontend/src/database/types.ts index 8abfeca5d68..e3aea236c99 100644 --- a/superset-frontend/src/database/types.ts +++ b/superset-frontend/src/database/types.ts @@ -20,7 +20,6 @@ export interface QueryExecutePayload { client_id: string; database_id: number; - json: boolean; runAsync: boolean; catalog: string | null; schema: string; diff --git a/superset/sqllab/schemas.py b/superset/sqllab/schemas.py index 1e1d492b7cf..ce86a990c5b 100644 --- a/superset/sqllab/schemas.py +++ b/superset/sqllab/schemas.py @@ -63,7 +63,6 @@ class ExecutePayloadSchema(Schema): templateParams = fields.String(allow_none=True) # noqa: N815 tmp_table_name = fields.String(allow_none=True) select_as_cta = fields.Boolean(allow_none=True) - json = fields.Boolean(allow_none=True) runAsync = fields.Boolean(allow_none=True) # noqa: N815 expand_data = fields.Boolean(allow_none=True) diff --git a/superset/views/sql_lab/schemas.py b/superset/views/sql_lab/schemas.py index ea184cb3973..c9f57d7c023 100644 --- a/superset/views/sql_lab/schemas.py +++ b/superset/views/sql_lab/schemas.py @@ -30,6 +30,5 @@ class SqlJsonPayloadSchema(Schema): templateParams = fields.String(allow_none=True) # noqa: N815 tmp_table_name = fields.String(allow_none=True) select_as_cta = fields.Boolean(allow_none=True) - json = fields.Boolean(allow_none=True) runAsync = fields.Boolean(allow_none=True) # noqa: N815 expand_data = fields.Boolean(allow_none=True)