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 c8a7623 [KYUUBI #1437] Fix error message on Spark UI
c8a7623 is described below
commit c8a76235782678006d2872b109a47df462d700c6
Author: zhang1002 <[email protected]>
AuthorDate: Tue Nov 23 17:05:07 2021 +0800
[KYUUBI #1437] Fix error message on Spark UI
### _Why are the changes needed?_
error message modification
query execution is just the sql's logical plan not the error message.
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including
negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [ ] [Run
test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests)
locally before make a pull request
Closes #1437 from zhang1002/error-message-modification.
Closes #1437
744c218a [zhang1002] error message modification
Authored-by: zhang1002 <[email protected]>
Signed-off-by: Kent Yao <[email protected]>
---
.../src/main/scala/org/apache/spark/kyuubi/ui/EnginePage.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/ui/EnginePage.scala
b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/ui/EnginePage.scala
index 9f50c38..a357c0e 100644
---
a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/ui/EnginePage.scala
+++
b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/ui/EnginePage.scala
@@ -360,7 +360,7 @@ private class StatementStatsPagedTable(
<td>
{sparkStatementEvent.state}
</td>
- {errorMessageCell(sparkStatementEvent.queryExecution)}
+ {errorMessageCell(sparkStatementEvent.exception)}
</tr>
}