ulysses-you commented on code in PR #2812:
URL: https://github.com/apache/incubator-kyuubi/pull/2812#discussion_r889774002
##########
kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/BatchRestApi.java:
##########
@@ -47,9 +47,12 @@ public Batch getBatchById(String batchId) {
return this.getClient().get(path, null, Batch.class,
client.getAuthHeader());
}
- public GetBatchesResponse listBatches(String batchType, int from, int size) {
+ public GetBatchesResponse listBatches(
+ String batchType, String batchUser, String batchState, int from, int
size) {
Map<String, Object> params = new HashMap<>();
params.put("batchType", batchType);
+ params.put("batchUser", batchUser);
+ params.put("batchState", batchState);
Review Comment:
how about supporting filter by createTime and endTime ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]