carloea2 opened a new pull request, #8204: URL: https://github.com/apache/texera/pull/8204
### What changes were proposed in this PR? Replace the removable assert on materialization URI and partitioning counts with an explicit ValueError. The regression covers both mismatch directions and runs with normal and optimized Python. ### Any related issues, documentation, discussions? Closes #8203 ### How was this PR tested? ```text python -c "import sys,pytest; sys.path[:0]=[r'<worktree>ambersrcmainpython',r'<main-checkout>ambersrcmainpython']; raise SystemExit(pytest.main([r'amber/src/test/python/core/architecture/packaging/test_input_manager.py','-q','-p','no:cacheprovider']))" 22 passed python -O -c "import sys,pytest; sys.path[:0]=[r'<worktree>ambersrcmainpython',r'<main-checkout>ambersrcmainpython']; raise SystemExit(pytest.main([r'amber/src/test/python/core/architecture/packaging/test_input_manager.py::TestInputPortMaterializationReaderThreads::test_mismatched_uris_and_partitionings_are_rejected','-q','-p','no:cacheprovider']))" 2 passed ruff check amber/src/main/python amber/src/test/python All checks passed ruff format --check amber/src/main/python amber/src/test/python 213 files already formatted ``` A direct optimized-mode run now raises: ```text ValueError: storage URIs and partitionings must have the same length optimized= True ``` ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex -- 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]
