Skip to content

Commit a2102c8

Browse files
07ARBsrowen
authored andcommitted
[SPARK-29453][WEBUI] Improve tooltips information for SQL tab
### What changes were proposed in this pull request? Adding tooltip to SQL tab for better usability. ### Why are the changes needed? There are a few common points of confusion in the UI that could be clarified with tooltips. We should add tooltips to explain. ### Does this PR introduce any user-facing change? yes. ![Screenshot 2019-11-23 at 9 47 41 AM](https://user-images.githubusercontent.com/8948111/69472963-aaec5980-0dd6-11ea-881a-fe6266171054.png) ### How was this patch tested? Manual test. Closes apache#26641 from 07ARB/SPARK-29453. Authored-by: 07ARB <[email protected]> Signed-off-by: Sean Owen <[email protected]>
1 parent 710ddab commit a2102c8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,15 @@ private[ui] class ExecutionPagedTable(
324324

325325
<th>
326326
<a href={headerLink}>
327-
{header}
327+
{if (header == "Duration") {
328+
<span data-toggle="tooltip" data-placement="top"
329+
title="Time from query submission to completion
330+
(or if still executing, time since submission)">
331+
{header}
332+
</span>
333+
} else {
334+
{header}
335+
}}
328336
</a>
329337
</th>
330338
} else {

0 commit comments

Comments
 (0)