eugenegujing opened a new issue, #7647:
URL: https://github.com/apache/texera/issues/7647

   ### Task Summary
   
   
`common/workflow-compiler/src/main/scala/org/apache/texera/common/compiler/WorkflowCompiler.scala`
 checks every Python-based physical operator's generated code for the 
`#EXCEPTION DURING CODE GENERATION:` marker that `PythonOperatorDescriptor` 
embeds when an operator's `generatePythonCode` throws. When the marker is 
found, the compiler either appends a `RuntimeException("Operator is not 
configured properly: ...")` to the caller's error list or throws it immediately 
when no error list is provided.
   
   `WorkflowCompilerSpec` (15 tests) never exercises this branch on the 
consumer side; the only test of the marker is the producer-side 
`PythonOperatorDescriptorSpec`, which asserts that the marker is written but 
not that the compiler reacts to it. Both the error-list and the throwing 
branches are unasserted.
   
   ### Task Type
   
   - [ ] Refactor / Cleanup
   - [ ] DevOps / Deployment / CI
   - [x] Testing / QA
   - [ ] Documentation
   - [ ] Performance
   - [ ] Other


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