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

   ### What happened?
   
   Input materialization validates URI and partitioning counts with an assert. 
Python removes asserts in optimized mode, then zip silently truncates 
mismatched lists and creates fewer readers than requested.
   
   Before: mismatched configuration -> zip truncates -> materialized input is 
silently dropped
   
   After: mismatched configuration -> ValueError identifies the invalid 
configuration
   
   ### How to reproduce?
   
   1. Run the Python worker with optimization enabled.
   2. Configure an input port with two storage URIs and one partitioning.
   3. Set up the materialization readers.
   4. Observe that only one reader is created and no error is raised.
   
   A direct run on main produced:
   
   ```text
   optimized= True
   uris= 2
   partitionings= 1
   readers_created= 1
   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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to