You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/15 06:00:47 UTC

[GitHub] [arrow-datafusion] doki23 opened a new issue #2014: Cannot run examples of ballista

doki23 opened a new issue #2014:
URL: https://github.com/apache/arrow-datafusion/issues/2014


   **Describe the bug**
   A clear and concise description of what the bug is.
   When I try to run ballista-examples/src/bin/ballista-sql.rs, I got an error: 
   
   > thread 'main' panicked at 'failed to get arrow data dir: env `ARROW_TEST_DATA` is undefined or has empty value, and the pre-defined data dir `/Users/doki/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-10.0.0/../testing/data` not found
   
   I find test data dir in df unit tests is:
   
   >  datafusion::test_util::arrow_test_data()
   
   in the example it's
   
   > datafusion::arrow::util::test_util::arrow_test_data()
   


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] xudong963 commented on issue #2014: Cannot run examples of ballista

Posted by GitBox <gi...@apache.org>.
xudong963 commented on issue #2014:
URL: https://github.com/apache/arrow-datafusion/issues/2014#issuecomment-1069819295


   > I'd like to replace it with `datafusion::test_util::arrow_test_data()` so that we can run it without setting the env var. @xudong963 How do you think?
   
   +1. I got your idea. Look forward to seeing your ticket! Thanks @doki23 


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] xudong963 closed issue #2014: Cannot run examples of ballista

Posted by GitBox <gi...@apache.org>.
xudong963 closed issue #2014:
URL: https://github.com/apache/arrow-datafusion/issues/2014


   


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] doki23 edited a comment on issue #2014: Cannot run examples of ballista

Posted by GitBox <gi...@apache.org>.
doki23 edited a comment on issue #2014:
URL: https://github.com/apache/arrow-datafusion/issues/2014#issuecomment-1068583337


   I'd like to replace it with `datafusion::test_util::arrow_test_data()` so that we can run it without setting the env var. 
   @xudong963 How do you think?


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] doki23 commented on issue #2014: Cannot run examples of ballista

Posted by GitBox <gi...@apache.org>.
doki23 commented on issue #2014:
URL: https://github.com/apache/arrow-datafusion/issues/2014#issuecomment-1068583337


   I'd like to replace with `datafusion::test_util::arrow_test_data()` so that we can run it without setting the env var. 
   @xudong963 How do you think?


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] doki23 commented on issue #2014: Cannot run examples of ballista

Posted by GitBox <gi...@apache.org>.
doki23 commented on issue #2014:
URL: https://github.com/apache/arrow-datafusion/issues/2014#issuecomment-1067673091


   Setting the env var solves it surely, but why not use datafusion::arrow::util::test_util::arrow_test_data() directly?


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] doki23 edited a comment on issue #2014: Cannot run examples of ballista

Posted by GitBox <gi...@apache.org>.
doki23 edited a comment on issue #2014:
URL: https://github.com/apache/arrow-datafusion/issues/2014#issuecomment-1067673091


   Setting the env var solves it surely, but why not use datafusion::test_util::arrow_test_data() directly?


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] xudong963 commented on issue #2014: Cannot run examples of ballista

Posted by GitBox <gi...@apache.org>.
xudong963 commented on issue #2014:
URL: https://github.com/apache/arrow-datafusion/issues/2014#issuecomment-1067612251


   Have you ever run `export ARROW_TEST_DATA=$(pwd)/testing/data/`? 
   https://github.com/apache/arrow-datafusion/blob/master/CONTRIBUTING.md#bootstrap-environment


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] xudong963 closed issue #2014: Cannot run examples of ballista

Posted by GitBox <gi...@apache.org>.
xudong963 closed issue #2014:
URL: https://github.com/apache/arrow-datafusion/issues/2014


   


-- 
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-unsubscribe@arrow.apache.org

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