Repository navigation
Pass ALLOW_ADHOC_SUBQUERY to analytics without literal quotes - #41
Merged
Merged
Conversation
The value was wrapped in an extra pair of double quotes, so the analytics container received "true" with the quotes. Superset's parse_boolean_string does not accept that, which left ALLOW_ADHOC_SUBQUERY off on every Helm deployment and broke the benchmark dashboards' raw-records table chart. Fixes OPS-4975. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🔵 Needs a closer look
Enabling SQL subqueries in production requires the requested human security review, and AKS runtime validation remains pending.
No open issues 🎉
What changed in this PR
This PR fixes analytics feature-flag quoting in the Helm chart so ALLOW_ADHOC_SUBQUERY receives a valid boolean string, addressing the reported dashboard failure.
Changes:
- Removes literal double quotes from
SUPERSET_FEATURE_ALLOW_ADHOC_SUBQUERY. - Allows the existing default of
trueto enable analytics SQL subqueries in Helm deployments, matching Docker Compose.
| File | Description |
|---|---|
chart/values.yaml |
Removes extra quotes from the analytics subquery feature flag. |
Review effort: Balanced
pawel-oo
approved these changes
Oct 26, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes OPS-4975.
Problem
On every Helm (AKS) deployment, the benchmark dashboards' "Top opportunities to address" chart fails with
Custom SQL fields cannot contain sub-queries.The same chart works on Docker Compose with the same analytics image.Cause
chart/values.yamlwrapped the value in an extra pair of double quotes inside single quotes:openops.renderEnvadds its own| quote, so the container got"true"with the quotes included. Superset turnsSUPERSET_FEATURE_*variables into flags withparse_boolean_string, which does not accept a quoted value, so the flag has been off on every Helm deployment.The table chart runs in raw-records mode. In that mode Superset checks each column name for sub-queries.
Estimated savings USD per monthdoes not parse as SQL, and a parse failure counts as a sub-query, so with the flag off the chart errors.