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

   Context: 
https://github.com/apache/datafusion/pull/16144#issuecomment-2900832669
   
   We use `insta` to test datafusion-cli, but some tests have dynamic errors 
with stack traces, including external dependencies, which we don't want to 
assert on. As a workaround, we removed datafusion-cli from action with 
`RUST_BACKTRACE=1` in https://github.com/apache/datafusion/pull/16144, but it 
should work reliably even with the flag enabled.
   
   To fix this, you feel free to explore these options:
   
   - Filter out the stack trace, as in 
https://github.com/apache/datafusion/blob/cb45f1f9cc4f4041b8dcf9c7f0f5d51470d5f5a3/datafusion-cli/tests/cli_integration.rs#L33
   - Set `RUST_BACKTRACE=0` when spawning the datafusion-cli.
   - Check if insta has any features or issues related to this.


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