Yicong-Huang commented on code in PR #5300:
URL: https://github.com/apache/texera/pull/5300#discussion_r3330651779
##########
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:
we should avoid call `option.orNull` at any stage. if we get a None in the
backend we should raise: because DB declares this uid to be not null.
--
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]