shahidki31 commented on a change in pull request #26216: [SPARK-29453][WEBUI] 
Improve tooltips information for SQL tab.
URL: https://github.com/apache/spark/pull/26216#discussion_r338862908
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
 ##########
 @@ -290,6 +289,32 @@ private[ui] class ExecutionPagedTable(
         }
       }
 
+    var headerNameWithTooltips: Map[String, String] = Map("ID" -> "Execution 
ID of the SQL query.",
+      "Description" ->
+        ("Description of the SQL query. When click on the description link," +
+          " it will navigate to query details page."),
+      "Submitted" -> "Submitted",
+      "Duration" ->
+        "Difference between start time and close time.")
+
+      if (showRunningJobs && showSucceededJobs && showFailedJobs) {
 
 Review comment:
   We can remove these if conditions and make a single map in the first 
instance itself, I guess? Because, this is a map and will use the key-value 
only if exists in the header field.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to