You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dosubot[bot] (via GitHub)" <gi...@apache.org> on 2026/05/02 02:49:50 UTC
Re: [D] does SQL_FORMAT_QUERY = False suppoted in superset 6.0.0 released version? [superset]
GitHub user dosubot[bot] edited a comment on the discussion: does SQL_FORMAT_QUERY = False suppoted in superset 6.0.0 released version?
<!-- Answer -->
`SQL_FORMAT_QUERY` is **not** a supported configuration option in Apache Superset — it does not exist in the current codebase and there's no evidence it was ever part of official Superset . So it is not supported in version 6.0.0.
That said, Superset does have SQL formatting functionality:
- There's a **"Format SQL"** button in SQL Lab that uses `sqlglot` for query pretty-printing .
- A REST API endpoint at `/format_sql/` is available for programmatic formatting .
However, there is no global config toggle to enable/disable SQL formatting.
Could you share where you saw `SQL_FORMAT_QUERY` referenced? It may be from a custom fork or third-party documentation. If you're trying to control a specific SQL formatting behavior, I can help you look into the right approach.
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=apache%2Fsuperset&message_id=2d429656-e0c6-4578-b89e-1d4cd75c31cb) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/39158#discussioncomment-16474158
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org