KassaSana commented on issue #24913:
URL: https://github.com/apache/datafusion/issues/24913#issuecomment-5856826373

   I reproduced this on current `main`. The configured recursion limit is 
ignored in `-c`, `-f`, env-based config, and the interactive shell.
   
   The fix appears to need both:
   
   * `exec_and_print` in `exec.rs`
   * `CliHelper::validate_input` in `helper.rs`
   
   The earlier attempt in #24914 handled the execution path but not the REPL 
validation path.
   
   My plan is to use `DFParserBuilder::with_recursion_limit` for execution and 
keep the recursion limit in `CliHelper` synchronized similarly to the existing 
dialect handling, with tests for both paths.
   
   Would you prefer a narrow `set_recursion_limit` method, or a broader 
parser-options setter?
   


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