mengw15 commented on code in PR #7754:
URL: https://github.com/apache/texera/pull/7754#discussion_r3816850423
##########
amber/src/main/scala/org/apache/texera/web/service/ExecutionsMetadataPersistService.scala:
##########
@@ -73,7 +73,7 @@ object ExecutionsMetadataPersistService extends LazyLogging {
// Set computing unit ID if provided
newExecution.setCuid(computingUnitId)
// The warehouse this run writes into (#6870); null = the shared default
warehouse.
- warehouseId.foreach(whid => newExecution.setWhid(whid))
+ whid.foreach(whid => newExecution.setWhid(whid))
Review Comment:
Right — that line shadowed the parameter (two bindings both named `whid`).
Fixed: `whid.foreach(id => newExecution.setWhid(id))`.
--
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]