Yicong-Huang commented on PR #59211:
URL: https://github.com/apache/spark/pull/59211#issuecomment-6010129249

   Thanks for the re-review. Both covered in ff6c17b:
   - `test_rejects_too_few_rows` -- yields fewer rows than consumed; asserts 
`RESULT_ROWS_MISMATCH` (the final `verify_iter_result_row_count` guard).
   - `test_rejects_unconsumed_input` -- UDF stops before the input stream is 
exhausted; asserts `INPUT_NOT_FULLY_CONSUMED` (`verify_iterator_exhausted`).
   
   Also renamed the existing too-many case to `test_rejects_too_many_rows` and 
had it assert `OUTPUT_EXCEEDS_INPUT_ROWS`, so the three scalar-iter row/input 
guards are each exercised and distinguished by condition.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to