This is an automated email from the ASF dual-hosted git repository.
ggal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-livy.git
The following commit(s) were added to refs/heads/master by this push:
new adb10848 [MINOR][DOC] Fix the missing fields in the Batch model
adb10848 is described below
commit adb10848e259fbd9687198b137a8e141abcdbc73
Author: Yi Wei <[email protected]>
AuthorDate: Sat Jun 14 02:11:04 2025 +0800
[MINOR][DOC] Fix the missing fields in the Batch model
---
docs/rest-api.md | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/docs/rest-api.md b/docs/rest-api.md
index 1a470644..fd614248 100644
--- a/docs/rest-api.md
+++ b/docs/rest-api.md
@@ -899,12 +899,12 @@ A statement represents the result of an execution
statement.
<tr><th>Name</th><th>Description</th><th>Type</th></tr>
<tr>
<td>id</td>
- <td>The session id</td>
+ <td>The batch id</td>
<td>int</td>
</tr>
<tr>
<td>appId</td>
- <td>The application id of this session</td>
+ <td>The application id of this batch</td>
<td>string</td>
</tr>
<tr>
@@ -922,6 +922,21 @@ A statement represents the result of an execution
statement.
<td>The log lines</td>
<td>list of strings</td>
</tr>
+ <tr>
+ <td>name</td>
+ <td>The application name of this batch</td>
+ <td>string</td>
+ </tr>
+ <tr>
+ <td>owner</td>
+ <td>Remote user who submitted this batch</td>
+ <td>string</td>
+ </tr>
+ <tr>
+ <td>proxyUser</td>
+ <td>User to impersonate when running</td>
+ <td>string</td>
+ </tr>
<tr>
<td>state</td>
<td>The batch state</td>