Yicong-Huang commented on code in PR #5300:
URL: https://github.com/apache/texera/pull/5300#discussion_r3331130250
##########
amber/src/main/scala/org/apache/texera/web/service/WorkflowService.scala:
##########
@@ -204,7 +204,7 @@ class WorkflowService(
workflowContext.executionId =
ExecutionsMetadataPersistService.insertNewExecution(
workflowContext.workflowId,
- uidOpt,
+ uidOpt.orNull,
Review Comment:
for this call site, if we know uid is None, we should fail early, instead of
calling insertNewExecution and let DB fail it.
--
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]