mirror of
https://github.com/apache/superset.git
synced 2026-05-23 08:45:45 +00:00
Snapshots all four versioned Docusaurus sections at v6.1.0, cut from master after the version-cutting tooling (#39837), broken-internal- links fix (#40102), and user_docs rename (#40171) all landed. With the rename in place, all four sections now produce parallel-named files at the docs/ root (no more bare `versioned_docs/` outlier). Versioning behavior: lastVersion stays at current for every section, so the canonical URLs (/user-docs/..., /admin-docs/..., /developer-docs/..., /components/...) continue to render content from master. The current version is consistently labeled "Next" with an unreleased banner, and 6.1.0 is a historical pin accessible only via its explicit version segment. Component playground: previously disabled: true in versions-config.json, now enabled and versioned. Snapshot includes: - All MDX content for the four sections. - Auto-gen captured fresh: 74 database pages (engine spec metadata), ~1,800 API reference files (openapi.json), 59 component pages (Storybook stories). - Data imports frozen at cut time into snapshot-local _versioned_data/ dirs: user_docs_versioned_docs/version-6.1.0/_versioned_data/src/data/databases.json (canonical 80-database diagnostics from master, preserved by the generator's input-hash cache) admin_docs_versioned_docs/version-6.1.0/_versioned_data/data/countries.json admin_docs_versioned_docs/version-6.1.0/_versioned_data/static/feature-flags.json developer_docs_versioned_docs/version-6.1.0/_versioned_data/static/data/components.json - Import paths in deeply-nested files rewritten so they still resolve from one directory deeper inside the snapshot. - developer_docs/extensions/overview.md snapshot has the FIXED ./mcp.md form (from #40102), so the SPA-nav 404 isn't baked into the 6.1.0 version. Verified via full yarn build: exit 0, no broken links surfaced by onBrokenLinks: throw.
69 lines
3.6 KiB
Plaintext
69 lines
3.6 KiB
Plaintext
---
|
|
id: validate-a-sql-expression-against-a-datasource
|
|
title: "Validate a SQL expression against a datasource"
|
|
description: "Validate a SQL expression against a datasource"
|
|
sidebar_label: "Validate a SQL expression against a datasource"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFWG1v3DYM/isCMaAJ5uSarQMKF/2QZunSrkiz3LXdEAeZzubFam3JleRLbob/+0DJb3fndOsLmk+5yBSp5yEpkqqg4JrnaFEbCC8qSNDEWhRWKAkhzFJkdlUgUwuW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Zjex9XSMoUjuRrLQQtqdFuk+Ce/s7g65e8mXfOpCd8Df2mIfXkoaorCjjd9wYdkCbZw60r4TZZVHnqNNVUKQKd436QxbMbYZnUTT322AVp7TmaP076DfMoxPT+x2jHrp1hNzlaxC9nL6+nTf3ztisdqp2AdcDdzC6l2SJu88iaRnlJB3bG74qhFSGe5n6nqHRHefAN0do00JMr7ZrvNrLsgKX597PHs0+yhDXnYjUAjfzFcUOO4O9RdYqSmuRsNjaxx4RZ9ZgkvMVJGjtM1t7MLWK6oKrayKVVaHk0lFquqwogyvt7QdlcaqvFURwJJrwecZto2vU7M+pdAxB5NH8y/9cdfzuv6T2eyMdXrqAOg06/o6vFuHm/oyQ99o+GRKsxdnpISwrCsZparZ76RrN362pWZKRdKDdAWngrkL+edK55z0vXw3g2aWpeT2X/uBzoGuA9p8pXGh0aRfqoS0GCXP+8H4+BuMWn76q2mCX6iRQbksUBskyq2wZGu4RHHp5ZYHnm5jc+66i+YR4LMTas1814FYvLWTIuPCdWwueKsm1y6AF4LOckC7h6rC7cePcPNRYiTnIAAKTx9/F1BVc27wjc7qmpY/lqipAbnsU8A/0QhDvxMIFzwzuAWka8Zg57xpvXfZnS85o7Db+U2u/MFL+g8CqlkjLz3u+eZLD3XHK8/XHUskUF9SZrvS4ljzMsMiMdCx1bQSJL/jMI7RVdW7ZS8HlzNVNghg3jwm5SqhPZrf0LMUv/HnVY4W/y5Aa762l76j9TopB2k0GkRml6vND0I1ykhVeQlfI+uOINeGgBuR/wX1iPLN
|
|
sidebar_class_name: "post api-method"
|
|
info_path: developer-docs/api/superset
|
|
custom_edit_url: null
|
|
hide_send_button: true
|
|
show_extensions: true
|
|
---
|
|
|
|
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
|
import ParamsDetails from "@theme/ParamsDetails";
|
|
import RequestSchema from "@theme/RequestSchema";
|
|
import StatusCodes from "@theme/StatusCodes";
|
|
import OperationTabs from "@theme/OperationTabs";
|
|
import TabItem from "@theme/TabItem";
|
|
import Heading from "@theme/Heading";
|
|
import Translate from "@docusaurus/Translate";
|
|
|
|
<Heading
|
|
as={"h1"}
|
|
className={"openapi__heading"}
|
|
children={"Validate a SQL expression against a datasource"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"post"}
|
|
path={"/api/v1/datasource/{datasource_type}/{datasource_id}/validate_expression/"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Validate a SQL expression against a datasource
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
{...require("./validate-a-sql-expression-against-a-datasource.ParamsDetails.json")}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./validate-a-sql-expression-against-a-datasource.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./validate-a-sql-expression-against-a-datasource.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|