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

   ### What is this PR for?
   
   Require equal row counts before comparing table rows. This prevents the 
existing `zip` comparison from treating a shorter matching prefix as a fully 
equal table.
   
   Closes #8229
   
   ### What type of PR is it?
   
   Bug Fix
   
   ### How was this PR tested?
   
   ```text
   python -c "import sys,pytest; sys.path[:0]=[worktree amber source, main 
amber source]; raise 
SystemExit(pytest.main(['amber/src/test/python/core/models/test_table.py','amber/src/test/python/pytexera/udf/test_udf_operator.py','-q','-p','no:cacheprovider']))"
   71 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 post-fix probe covered different lengths in both directions and the 
equal case:
   
   ```text
   short_equals_long=False
   long_equals_short=False
   short_equals_same=True
   lengths=1 2
   ```
   
   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