gabotechs opened a new issue, #16028:
URL: https://github.com/apache/datafusion/issues/16028

   ### Is your feature request related to a problem or challenge?
   
   While executing sqllogictests, we can only filter for specific files, but we 
cannot chose to execute specific tests within a single file. Some files contain 
hundreds of tests, and being able to chose which one to execute can improve the 
debugging experience (e.g lldb, gdb), and better create reproducer commands for 
certain issues that only appear in specific tests (e.g. `cargo test --test 
sqllogictests -- aggregate:6984` replicates issue X)
   
   ### Describe the solution you'd like
   
   Extend the current filtering capabilities with optional line numbers, for 
example:
   ```shell
   cargo test --test sqllogictests -- aggregate:6984
   ```
   Will only execute:
   - the specific test here:
   
https://github.com/apache/datafusion/blob/e60b260facb6810b41a15856075f23b33fa90e82/datafusion/sqllogictest/test_files/aggregate.slt#L6984-L6988
   - any CREATE TABLE, INSERT INTO, DROP, etc... statements that are needed for 
the test to run properly
   
   ### Describe alternatives you've considered
   
   Create custom temporary .slt files with just small reproducers about 
specific issues. It's fine, but less ergonomic and portable (harder to share 
commands in PR review comments and issues)
   
   ### Additional context
   
   While playing around with the idea on 
https://github.com/apache/datafusion/issues/15069#issuecomment-2841521737, I'm 
inclined to think that it might be a good idea to follow that path, but 
initially the solution proposed on that comment will produce a very big amount 
of test failures that could (and should) be addressed independently. Being able 
to point to replicate specific failures in isolation could help people 
reproduce and contribute fixes more ergonomically


-- 
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: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to