Yicong-Huang opened a new issue, #4728:
URL: https://github.com/apache/texera/issues/4728

   ### What happened?
   
   
`common/workflow-core/src/main/scala/org/apache/texera/amber/util/VirtualIdentityUtils.scala::workerNamePattern`
 is `raw"Worker:WF(\d+)-(.+)-(\w+)-(\d+)".r`. The layer capture group is 
`(\w+)` which excludes hyphens. When the real layer name contains hyphens (e.g. 
`1st-physical-op` as seen in WorkerSpec test data), the greedy operator group 
eats most of the layer.
   
   ### How to reproduce?
   
   ```scala
   val opId = VirtualIdentityUtils.getPhysicalOpId(
     ActorVirtualIdentity("Worker:WF1-myOp-1st-physical-op-3"))
   // opId.logicalOpId.id == "myOp-1st-physical"  // operator stole layer chars
   // opId.layerName       == "op"                // layer truncated
   ```
   
   ### Version
   
   1.1.0-incubating (Pre-release/Master)


-- 
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]

Reply via email to