You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by vo...@apache.org on 2024/05/25 04:31:05 UTC

(druid) 11/11: tidy up

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

vogievetsky pushed a commit to branch more_explore_fixes
in repository https://gitbox.apache.org/repos/asf/druid.git

commit 198dc06543c922f4e8af4f21d6ce3200902205af
Author: Vadim Ogievetsky <va...@ogievetsky.com>
AuthorDate: Fri May 24 21:30:40 2024 -0700

    tidy up
---
 web-console/src/views/explore-view/modules/table-react-module.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/web-console/src/views/explore-view/modules/table-react-module.tsx b/web-console/src/views/explore-view/modules/table-react-module.tsx
index f6d97a2f1fd..e226dab7e67 100644
--- a/web-console/src/views/explore-view/modules/table-react-module.tsx
+++ b/web-console/src/views/explore-view/modules/table-react-module.tsx
@@ -612,17 +612,17 @@ function TableModule(props: TableModuleProps) {
           const metricName = metric.name;
 
           const mainMetric = main
-            .column(metric.name)
+            .column(metricName)
             .applyIf(NEEDS_GROUPING_TO_ORDER, anyValue)
             .apply(coalesce0);
 
           return [
-            mainMetric.as(metric.name),
+            mainMetric.as(metricName),
             ...compares.flatMap(compare => {
               const group = `${compare} comparison`;
 
               const prevMetric = T(`compare_${compare}`)
-                .column(metric.name)
+                .column(metricName)
                 .applyIf(NEEDS_GROUPING_TO_ORDER, anyValue)
                 .apply(coalesce0);
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org