This is an automated email from the ASF dual-hosted git repository.
justinpark pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 2b71d964cc3 fix(sqllab): missing estimate action button (#40101)
2b71d964cc3 is described below
commit 2b71d964cc32c7a99ef30398ccdef2d4a91df86e
Author: JUST.in DO IT <[email protected]>
AuthorDate: Thu May 14 14:43:07 2026 -0700
fix(sqllab): missing estimate action button (#40101)
---
.../src/SqlLab/components/EstimateQueryCostButton/index.tsx | 2 +-
superset/sqllab/utils.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git
a/superset-frontend/src/SqlLab/components/EstimateQueryCostButton/index.tsx
b/superset-frontend/src/SqlLab/components/EstimateQueryCostButton/index.tsx
index b89290741ae..f64de4b8570 100644
--- a/superset-frontend/src/SqlLab/components/EstimateQueryCostButton/index.tsx
+++ b/superset-frontend/src/SqlLab/components/EstimateQueryCostButton/index.tsx
@@ -113,7 +113,7 @@ const EstimateQueryCostButton = ({
modalBody={renderModalBody()}
triggerNode={
<Button
- color="primary"
+ color="default"
variant="text"
style={{ height: 32, padding: '4px 15px' }}
onClick={onClickHandler}
diff --git a/superset/sqllab/utils.py b/superset/sqllab/utils.py
index b2bdf7f8bfd..cfcf02b2c2c 100644
--- a/superset/sqllab/utils.py
+++ b/superset/sqllab/utils.py
@@ -31,6 +31,7 @@ DATABASE_KEYS = [
"allow_cvas",
"allow_dml",
"allow_run_async",
+ "allows_cost_estimate",
"allows_subquery",
"backend",
"database_name",