-
Notifications
You must be signed in to change notification settings - Fork 916
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 #5035] Spark engine session page display session end time and duration #5038
Conversation
Any screenshots for comparing the changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lGTM overall.
externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/spark/ui/EngineSessionPage.scala
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #5038 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 563 563
Lines 31176 31188 +12
Branches 4070 4072 +2
======================================
- Misses 31176 31188 +12
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
"" | ||
} else { | ||
s""" | ||
|Session end at ${formatDate(sessionStat.endTime)}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|Session end at ${formatDate(sessionStat.endTime)}, | |
| ended at ${formatDate(sessionStat.endTime)}, |
How about changed to separated lines for connection details and the statistics.
|
Would you like to update the screenshots in the description? And I think this PR is good to go. @lsm1 |
ok,done |
Thanks, merged to master. |
…me and duration ### _Why are the changes needed?_ close apache#5035 ### _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://github.com/apache/kyuubi/assets/18713676/502b489f-6cbd-4510-a89c-b7816b3e15bf) - [x] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request Closes apache#5038 from lsm1/features/kyuubi_5035. Closes apache#5035 9ee06f1 [senmiaoliu] fix style c68fd65 [senmiaoliu] fix style 5d3d869 [senmiaoliu] show session end time Authored-by: senmiaoliu <senmiaoliu@trip.com> Signed-off-by: liangbowen <liangbowen@gf.com.cn>
Why are the changes needed?
close #5035
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 locally before make a pull request