ninglinLiu opened a new pull request, #26908:
URL: https://github.com/apache/datafusion/pull/26908

   ## Which issue does this PR close?
   
   Closes #26645.
   
   ## Rationale for this change
   
   `check_finiteness_requirements` used `{:?}` for the rejected operator, so 
`SanityCheckPlan` errors dumped thousands of characters of `Debug` state. The 
other errors in the same file already format plans for humans; this one should 
too.
   
   ## What changes are included in this PR?
   
   - Format the operator with `displayable(input).one_line()` (same shape as 
`EXPLAIN`).
   - Add a `limit.slt` `statement error` case that matches the readable message 
prefix.
   
   ## Are these changes tested?
   
   - New sqllogictest expectation in 
`datafusion/sqllogictest/test_files/limit.slt`.
   
   ## Are there any user-facing changes?
   
   Yes: clearer `SanityCheckPlan` error text when a pipeline-breaking operator 
is used on an unbounded source.
   
   ## AI assistance
   
   This PR was prepared with AI assistance; I reviewed the change and the test 
expectation.


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