Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/validate-a-sql-expression-against-a-datasource.api.mdx
Claude Code cbcfd9599f docs: cut 6.1.0 versions for docs, admin_docs, developer_docs, components
Snapshots all four versioned Docusaurus sections at v6.1.0. Built on
top of the version-cutting tooling work in chore/docs-cut-6.1.0-versions
so the snapshot benefits from:

- Auto-gen refresh before snapshotting (database pages from engine
  spec metadata, API reference from openapi.json, component pages
  from Storybook stories) — captured at the SHA we cut from rather
  than whatever happened to be on disk.
- Data-import freeze: country list, feature flag table, database
  diagnostics, and component metadata are copied into snapshot-local
  `_versioned_data/` dirs so the historical version doesn't silently
  mutate when the source files change.
- Depth-aware import-path rewriter that handles deeply-nested
  component MDX files referencing `../../../src/` from the snapshot.

Versioning behavior: `lastVersion` stays at `current` for every
section, so the canonical URLs (`/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. The plugin block in docusaurus.config.ts
was already gated only by the `disabled` flag, so no other code
changes were needed to bring it back online.

The frozen `databases.json` in the snapshot is the canonical 80-database
artifact from the latest committed state in master (preserved by the
generator's input-hash cache), not a fallback regenerated from a
local Flask environment.
2026-05-13 17:15:46 -07:00

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+5yBSp5yEpkqqg4JrnaFEbCC8qSNDEWhRWKAkhzFJkdlUgUwuWcMuNKnWMEICgrwW3KQQgeY4QQv/9irZAABo/lkJjAqHVJQZg4hRzDmEFTiAEY7WQ11DXwZhhkZBZm+Lnm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UKQKd436QxbMbYZnUTT322AVp7TmaP076DfMoxPT+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>