diff --git a/superset-frontend/src/SqlLab/actions/sqlLab.js b/superset-frontend/src/SqlLab/actions/sqlLab.js index 00dabfe50f9..894e6b1173e 100644 --- a/superset-frontend/src/SqlLab/actions/sqlLab.js +++ b/superset-frontend/src/SqlLab/actions/sqlLab.js @@ -334,7 +334,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 a89ae3a8a02..6ea3cf0c320 100644 --- a/superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.jsx +++ b/superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.jsx @@ -744,7 +744,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 5ff3eddca88..3c2413f8d3b 100644 --- a/superset/sqllab/schemas.py +++ b/superset/sqllab/schemas.py @@ -71,7 +71,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)