What's the code coverage information of impala

2021-03-04 Thread Xianqing
Hi All, Does anyone know the code coverage information of Impala or where can I see this information? Thank you!

Re: What's the code coverage information of impala

2021-03-06 Thread Quanlong Huang
I think we only have code coverage info for FE. You can get it by adding -DcodeCoverage when running mvn test, e.g. (pushd fe && mvn test -Dtest=PlannerTest -DcodeCoverage) The report is in this dir: $IMPALA_HOME/logs/fe_tests/coverage. See more in this JIRA: https://issues.apache.org/jira/browse/I

Re: What's the code coverage information of impala

2021-03-08 Thread Zoltán Borók-Nagy
Hi, You can also get coverage info for the C++ code as well. For this you need to build impala with -codecoverage, i.e. buildall.sh -codecoverage You can use this script to generate a report: https://github.com/apache/impala/blob/master/bin/coverage_helper.sh Please note that in some environmen