This is an automated email from the ASF dual-hosted git repository.

aglinxinyuan pushed a commit to branch xinyuan-region-restart
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/xinyuan-region-restart by this 
push:
     new dae72b0ba8 Ignore duplicate result URI inserts
dae72b0ba8 is described below

commit dae72b0ba8625cb1fc3ccb794a46043fb9ada6ce
Author: Xinyuan Lin <[email protected]>
AuthorDate: Tue Apr 21 02:11:05 2026 -0700

    Ignore duplicate result URI inserts
---
 .../resource/dashboard/user/workflow/WorkflowExecutionsResource.scala   | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/amber/src/main/scala/org/apache/texera/web/resource/dashboard/user/workflow/WorkflowExecutionsResource.scala
 
b/amber/src/main/scala/org/apache/texera/web/resource/dashboard/user/workflow/WorkflowExecutionsResource.scala
index 72fb1c364e..92582afdd2 100644
--- 
a/amber/src/main/scala/org/apache/texera/web/resource/dashboard/user/workflow/WorkflowExecutionsResource.scala
+++ 
b/amber/src/main/scala/org/apache/texera/web/resource/dashboard/user/workflow/WorkflowExecutionsResource.scala
@@ -247,6 +247,8 @@ object WorkflowExecutionsResource {
         OPERATOR_PORT_EXECUTIONS.RESULT_URI
       )
       .values(eid.id.toInt, globalPortId.serializeAsString, uri.toString)
+      .onConflict()
+      .doNothing()
       .execute()
   }
 

Reply via email to