codeant-ai-for-open-source[bot] commented on code in PR #43938:
URL: https://github.com/apache/superset/pull/43938#discussion_r4087201914


##########
superset-frontend/plugins/plugin-chart-table/src/transformProps.ts:
##########
@@ -698,6 +700,11 @@ const transformProps = (
     : '';
 
   const [metrics, percentMetrics, columns] = processColumns(chartProps);
+  const resolvedHeaderGroups = resolveHeaderGroups(headerGroups, {
+    timeCompareEnabled: isUsingTimeComparison,
+    metricKeys: [...metrics, ...percentMetrics],

Review Comment:
   ✅ **CodeAnt verified this suggestion was addressed in subsequent commits and 
marked this thread resolved** as of `76445ce`.
   
   Comparison metric keys are now restricted to metric or percent-metric 
columns with `isNumeric`, and only those keys are passed to 
`resolveHeaderGroups`.
   
   <sub>If that's not right, unresolve this thread and CodeAnt will leave it 
open.</sub>
   
   <!-- codeant-auto-resolve-reply -->



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to