[SPARK-27715][SQL][UI] SQL query details in UI does not show in correct format.#24609
[SPARK-27715][SQL][UI] SQL query details in UI does not show in correct format.#24609uncleGen wants to merge 5 commits intoapache:masterfrom
Conversation
|
cc @srowen |
|
Test build #105399 has finished for PR 24609 at commit
|
|
retest this please |
|
Test build #105407 has finished for PR 24609 at commit
|
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
Outdated
Show resolved
Hide resolved
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
Show resolved
Hide resolved
|
Test build #105445 has finished for PR 24609 at commit
|
sql/core/src/main/scala/org/apache/spark/sql/execution/ui/AllExecutionsPage.scala
Outdated
Show resolved
Hide resolved
| </span> ++ | ||
| <div class="stage-details collapsed"> | ||
| <pre>{execution.description}<br></br>{execution.details}</pre> | ||
| <pre>{jobDescription}<br></br>{execution.details}</pre> |
There was a problem hiding this comment.
It seems jobDescription trims the execution.description. But for long queries we shouldn't trim the query and need to display in the description.
There was a problem hiding this comment.
Sorry, do not understand what you mean. makeDescription returns HTML rendering of a job or stage description. It will try to parse the string as HTML and make sure that it only contains anchors with root-relative links. Otherwise, the whole string will rendered as a simple escaped text.
There was a problem hiding this comment.
@shahidki31 Got it, let me confirm this problem.
There was a problem hiding this comment.
@shahidki31 Could you please test the pr again? It is fixed in my local test.
There was a problem hiding this comment.
@uncleGen I'd just look at this possible change too.
|
Test build #105479 has finished for PR 24609 at commit
|
srowen
left a comment
There was a problem hiding this comment.
That's safer, but, I wonder if we should just remove the <br/> from StreamExecution.getBatchDescriptionString. It doesn't seem essential, nor does it seem appropriate to add HTML there.
|
s/UI dose not/UI does not |
|
@gaborgsomogyi Sorry, what do you mean? |
|
(He's just suggesting you fix the typo in the title here) |
|
@srowen I removed the html tag from the |
srowen
left a comment
There was a problem hiding this comment.
Yes, pending tests, that looks like a better fix.
|
Test build #111346 has finished for PR 24609 at commit
|
|
@uncleGen the title still contains the typo and it's not allowed to fix by reviewers. Can you please take care of it? Otherwise looks good. |
|
(I fixed the title.) |
|
Thanks @srowen and @gaborgsomogyi |
|
Merged to master |
|
(Currently having trouble with JIRA, even after updating to LDAP password; I'll update the issue when it works or else anyone else can resolve it) |



What changes were proposed in this pull request?
before pr:

after pr:

How was this patch tested?
manual test