This is an automated email from the ASF dual-hosted git repository.

msyavuz pushed a commit to branch msyavuz/refactor/use-ant-tables
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 83666c2d5ebab8cfec7d6fc77f02b75ed074b9e6
Author: Mehmet Salih Yavuz <[email protected]>
AuthorDate: Mon Apr 7 10:42:19 2025 +0300

    fix: pass id's
---
 .../src/SqlLab/components/EstimateQueryCostButton/index.tsx         | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/superset-frontend/src/SqlLab/components/EstimateQueryCostButton/index.tsx 
b/superset-frontend/src/SqlLab/components/EstimateQueryCostButton/index.tsx
index a272ecd59d..6dda01d51a 100644
--- a/superset-frontend/src/SqlLab/components/EstimateQueryCostButton/index.tsx
+++ b/superset-frontend/src/SqlLab/components/EstimateQueryCostButton/index.tsx
@@ -59,7 +59,11 @@ const EstimateQueryCostButton = ({
   const columns = useMemo(
     () =>
       Array.isArray(cost) && cost.length
-        ? Object.keys(cost[0]).map(key => ({ accessor: key, Header: key }))
+        ? Object.keys(cost[0]).map(key => ({
+            accessor: key,
+            Header: key,
+            id: key,
+          }))
         : [],
     [cost],
   );

Reply via email to