carloea2 opened a new pull request, #8220:
URL: https://github.com/apache/texera/pull/8220

   ### What changes were proposed in this PR?
   
   Replace the removable finalization assert with an explicit ValueError before 
any second schema conversion can mutate the tuple.
   
   ### Any related issues, documentation, discussions?
   
   Closes #8219
   
   ### 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/models/test_tuple.py','-q','-p','no:cacheprovider','-k','not
 test_hash']))"
   102 passed, 2 deselected
   
   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/models/test_tuple.py::TestTuple::test_finalize_rejects_an_already_finalized_tuple','-q','-p','no:cacheprovider']))"
   1 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
   ```
   
   ### 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]

Reply via email to