vanzin commented on a change in pull request #23994: [SPARK-27075] Remove 
duplicate execution tag parameters from the url, when accessing the execution 
table in the SQL page
URL: https://github.com/apache/spark/pull/23994#discussion_r263163751
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
 ##########
 @@ -158,7 +158,8 @@ private[ui] class AllExecutionsPage(parent: SQLTab) 
extends WebUIPage("") with L
     showSucceededJobs: Boolean,
     showFailedJobs: Boolean): Seq[Node] = {
 
-    val parameterOtherTable = request.getParameterMap().asScala.map { case 
(name, vals) =>
+    val parameterOtherTable = request.getParameterMap().asScala
+      .filterNot(_._1.startsWith(executionTag)).map { case (name, vals) =>
 
 Review comment:
   ```
   val something = blah
     .filterNot(...)
     .map { blah =>
        ...
     }
   ```

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