You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ya...@apache.org on 2021/12/30 11:28:20 UTC

[incubator-kyuubi] branch master updated: [KYUUBI #1597] fix row value in Query Execution should be queryExecution

This is an automated email from the ASF dual-hosted git repository.

yao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e9e8c3  [KYUUBI #1597] fix row value in Query Execution should be queryExecution
8e9e8c3 is described below

commit 8e9e8c3c7e965cfbbb8a10d79da673b549da9d5a
Author: xifeng yang <xi...@hotmail.com>
AuthorDate: Thu Dec 30 19:28:08 2021 +0800

    [KYUUBI #1597] fix row value in Query Execution should be queryExecution
    
    <!--
    Thanks for sending a pull request!
    
    Here are some tips for you:
      1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html
      2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
      3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'.
    -->
    
    ### _Why are the changes needed?_
    <!--
    Please clarify why the changes are needed. For instance,
      1. If you add a feature, you can talk about the use case of it.
      2. If you fix a bug, you can clarify why it is a bug.
    -->
    
    row value in Query Execution should be queryExecution
    
    ### _How was this patch tested?_
    - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
    
    - [x] Add screenshots for manual tests if appropriate
    ![image](https://user-images.githubusercontent.com/12961802/147735708-bfb49799-1aa8-4eb2-8ef8-eda81fbfa869.png)
    
    - [ ] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request
    
    Closes #1657 from xifeng/kyuubi-1597.
    
    Closes #1597
    
    cf9f9aca [xifeng yang] [KYUUBI #1597] fix row value in Query Execution should be queryExecution
    
    Authored-by: xifeng yang <xi...@hotmail.com>
    Signed-off-by: Kent Yao <ya...@apache.org>
---
 .../src/main/scala/org/apache/spark/ui/EnginePage.scala               | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EnginePage.scala b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EnginePage.scala
index 00c5ff1..f9c4c56 100644
--- a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EnginePage.scala
+++ b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EnginePage.scala
@@ -364,7 +364,9 @@ private class StatementStatsPagedTable(
       <td>
         {event.state}
       </td>
-      {errorMessageCell(event.exception.map(Utils.stringifyException).getOrElse(""))}
+      <td>
+        {event.queryExecution}
+      </td>
     </tr>
   }