davisusanibar commented on PR #36967: URL: https://github.com/apache/arrow/pull/36967#issuecomment-1661132751
> > @mapleFU thanks for the review. I am trying to come up with some tests for this. but I need some help in running the tests in my CLION ide, not much documentation on this. could you help me with some context and information? > > I was expecting the running tests green arrows on the ide, but it's not there. I guess command line also works, but there are not enough documentation. > > You may at least enable following options: `-DARROW_PARQUET=ON -DARROW_BUILD_TESTS=ON -DARROW_DATASET=ON` > > Make sure you have also set env `ARROW_TEST_DATA` and `PARQUET_TEST_DATA` pointing to the arrow-testing/data and parquet-testing/data submodules respectively. Hi @zinking in case of testing, these steps will be helpful: 1. Generate dependences resources OSX/Win with: ``` $ mvn generate-resources -Pgenerate-libs-jni-macos-linux -N` ... Libraries will be generated at: $ ls -latr <absolute_path>/arrow/java-dist/x86_64/ |__ libarrow_dataset_jni.dylib |__ libarrow_orc_jni.dylib |__ libgandiva_jni.dylib ``` 2. Then, you could run dataset module using these resources: ``` $ cd arrow/java/dataset $ mvn clean test -Dtest="TestFileSystemDataset#testBaseJsonRead" -Darrow.cpp.build.dir=<absolute_path>/arrow/java-dist ``` 4. In case you need to ru test by IDE don't forget to pass `-Darrow.cpp.build.dir=<absolute_path>/arrow/java-dist` All of this s base on https://arrow.apache.org/docs/dev/developers/java/building.html -- 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]
