wjgan7 opened a new pull request, #57997:
URL: https://github.com/apache/spark/pull/57997

   ### What changes were proposed in this pull request?
   
   Change the way filtering metrics is done in `spark-sql-viz.js` to fix bug 
with metrics showing blank
   
   ### Why are the changes needed?
   
   https://github.com/apache/spark/pull/54887 introduced a filter for SQL 
metrics. It is very useful, but when a metric has min, med, and max values, it 
shows the metric as blank
   
   <img width="581" height="68" alt="image" 
src="https://github.com/user-attachments/assets/a6563927-a048-4fac-b514-e4dab8f4d6d9";
 />
   
   <img width="611" height="111" alt="image" 
src="https://github.com/user-attachments/assets/12f224bd-482d-41b5-9564-c2a7a959113a";
 />
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, it affects the Spark UI
   
   ### How was this patch tested?
   
   - Added test in ui-test/
   - Verified locally
   
   <img width="607" height="134" alt="image" 
src="https://github.com/user-attachments/assets/3808e7bb-6372-4334-84ee-247de02316ab";
 />
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code / Opus 4.8
   


-- 
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