You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "carloea2 (via GitHub)" <gi...@apache.org> on 2026/08/31 03:08:43 UTC

[I] Optimized Python accepts ambiguous operator definitions [texera]

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

   ### What happened?
   
   Executor loading validates that user code defines exactly one operator with an assert. Optimized Python removes that validation, so code with multiple operators silently selects the first definition and can run unintended logic.
   
   Before: multiple operator definitions -> first operator is silently selected
   
   After: multiple operator definitions -> ValueError rejects ambiguous code
   
   ### How to reproduce?
   
   1. Run the Python worker with optimization enabled.
   2. Load user code defining two concrete operators.
   3. Observe that the first operator is returned without an error.
   
   A direct run on main produced:
   
   ```text
   optimized= True
   selected_definition= FirstOperator
   error_raised= False
   ```
   
   ### Version/Branch
   
   1.3.0-incubating-SNAPSHOT (main)
   
   ### Commit Hash
   
   70c21145887920528d7d5540e3fb790b43e8b759
   
   ### What browsers are you seeing the problem on?
   
   Not browser-specific.
   
   ### Relevant log output
   
   None.


-- 
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: notifications-unsubscribe@texera.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Optimized Python accepts ambiguous operator definitions [texera]

Posted by "carloea2 (via GitHub)" <gi...@apache.org>.
carloea2 commented on issue #8207:
URL: https://github.com/apache/texera/issues/8207#issuecomment-5548204891

   /take


-- 
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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Optimized Python accepts ambiguous operator definitions [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8207:
URL: https://github.com/apache/texera/issues/8207#issuecomment-5473199292

   <!-- texera:template-compliance -->
   👋 Thanks for opening this issue, @carloea2!
   
   It looks like the issue description doesn't quite follow our template yet:
   
   - This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
   
   Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
   
   You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
   


-- 
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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org