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
[SUB-TASK][KPIP-4] Refine the batch info response #2812
Conversation
c63c8ec
to
3942dc2
Compare
3942dc2
to
b3f2cd8
Compare
As we are here, we can return the start time and end time in Batch. Includes get batch and list bathes interface. |
Codecov Report
@@ Coverage Diff @@
## master #2812 +/- ##
============================================
+ Coverage 62.99% 63.08% +0.09%
Complexity 203 203
============================================
Files 481 481
Lines 21425 21491 +66
Branches 2843 2849 +6
============================================
+ Hits 13497 13558 +61
Misses 6646 6646
- Partials 1282 1287 +5
Continue to review full report at Codecov.
|
sure |
b49862a
to
af37322
Compare
kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/BatchRestApi.java
Show resolved
Hide resolved
kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSessionManager.scala
Outdated
Show resolved
Hide resolved
99aeb24
to
83d5d7d
Compare
kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/BatchesResource.scala
Outdated
Show resolved
Hide resolved
83d5d7d
to
da2ea29
Compare
thanks, merging to master |
Why are the changes needed?
Return more batch info for insight:
user
,name
,createTime
andendTime
.Support to list batches with filter conditions:
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