-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KYUUBI #6108] Display the CPU time consumed by the statement in the Spark Engine tab #6113
Conversation
externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EnginePage.scala
Outdated
Show resolved
Hide resolved
externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EnginePage.scala
Outdated
Show resolved
Hide resolved
externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EnginePage.scala
Outdated
Show resolved
Hide resolved
externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EnginePage.scala
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6113 +/- ##
============================================
+ Coverage 61.11% 61.14% +0.03%
Complexity 23 23
============================================
Files 624 624
Lines 37245 37260 +15
Branches 5041 5046 +5
============================================
+ Hits 22762 22784 +22
+ Misses 12022 12015 -7
Partials 2461 2461 ☔ View full report in Codecov by Sentry. |
...ls/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/kyuubi/SQLOperationListener.scala
Outdated
Show resolved
Hide resolved
9b2df84
to
9018a07
Compare
rebased |
Maybe we can display both values, they are two dimensions of data. |
SGTM, @XorSum what do you think? |
SGTM |
@cxzl25 done. |
Thanks, merged to master. |
…n the Spark Engine tab # 🔍 Description ## Issue References 🔗 This pull request fixes apache#6108 ## Describe Your Solution 🔧 Follow apache#6112 Display the run time and CPU time of statements or sessions in the Spark UI. <img width="1429" alt="screenshot 2024-03-05 10 37 26" src="https://github.com/apache/kyuubi/assets/23011702/337772e0-a681-4989-b6f9-ee3633bb6287"> ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes apache#6113 from XorSum/features/spark-engine-cpu-time-UI. Closes apache#6108 aad2bbb [bkhan] session immediately 8e957c7 [bkhan] display run time 9018a07 [bkhan] Apply suggestions from code review 8523364 [bkhan] Display the CPU time consumed by the statement in the Engine tab Authored-by: bkhan <[email protected]> Signed-off-by: Shaoyun Chen <[email protected]>
🔍 Description
Issue References 🔗
This pull request fixes #6108
Describe Your Solution 🔧
Follow #6112
Display the run time and CPU time of statements or sessions in the Spark UI.
Types of changes 🔖
Test Plan 🧪
Behavior Without This Pull Request ⚰️
Behavior With This Pull Request 🎉
Related Unit Tests
Checklist 📝
Be nice. Be informative.