Skip to content

Commit 47eb0f4

Browse files
committed
remove the 'br'
1 parent 8d4613a commit 47eb0f4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,10 @@ abstract class StreamExecution(
578578

579579
protected def getBatchDescriptionString: String = {
580580
val batchDescription = if (currentBatchId < 0) "init" else currentBatchId.toString
581-
Option(name).map(_ + "<br/>").getOrElse("") +
582-
s"id = $id<br/>runId = $runId<br/>batch = $batchDescription"
581+
s"""|${Option(name).getOrElse("")}
582+
|id = $id
583+
|runId = $runId
584+
|batch = $batchDescription""".stripMargin
583585
}
584586

585587
protected def createStreamingWrite(

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,14 +383,13 @@ private[ui] class ExecutionPagedTable(
383383
}
384384

385385
private def descriptionCell(execution: SQLExecutionUIData): Seq[Node] = {
386-
val executionDesc = UIUtils.makeDescription(execution.description, basePath, plainText = false)
387386
val details = if (execution.details != null && execution.details.nonEmpty) {
388387
<span onclick="this.parentNode.querySelector('.stage-details').classList.toggle('collapsed')"
389388
class="expand-details">
390389
+details
391390
</span> ++
392391
<div class="stage-details collapsed">
393-
<pre>{executionDesc}<br></br>{execution.details}</pre>
392+
<pre>{execution.description}<br></br>{execution.details}</pre>
394393
</div>
395394
} else {
396395
Nil

0 commit comments

Comments
 (0)