This is an automated email from the ASF dual-hosted git repository.
jiadongb pushed a commit to branch feat/add-model
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to refs/heads/feat/add-model by this push:
new 8a68af1ff8 Update ExecutionResultService.scala
8a68af1ff8 is described below
commit 8a68af1ff8c128e70c515e463bcf826d504b6268
Author: Jiadong Bai <[email protected]>
AuthorDate: Fri Aug 29 15:46:59 2025 -0700
Update ExecutionResultService.scala
Signed-off-by: Jiadong Bai <[email protected]>
---
.../scala/edu/uci/ics/texera/web/service/ExecutionResultService.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionResultService.scala
b/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionResultService.scala
index cd56302876..772fafacc6 100644
---
a/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionResultService.scala
+++
b/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionResultService.scala
@@ -425,7 +425,7 @@ class ExecutionResultService(
def handleResultPagination(request: ResultPaginationRequest):
TexeraWebSocketEvent = {
// calculate from index (pageIndex starts from 1 instead of 0)
val from = request.pageSize * (request.pageIndex - 1)
- val latestExecutionId = getLatestExecutionId(0, 0).getOrElse(
+ val latestExecutionId = getLatestExecutionId(WorkflowIdentity(0L),
0).getOrElse(
throw new IllegalStateException("No execution is recorded")
)