Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ORC-1480: [C++] Fix build break w/ BUILD_CPP_ENABLE_METRICS=ON
### What changes were proposed in this pull request? Pass IOCount to SCOPED_STOPWATCH when counting I/Os. ### Why are the changes needed? SCOPED_STOPWATCH macro was not correctly called when counting I/Os. This breaks build when BUILD_CPP_ENABLE_METRICS is set to ON and fails the unit test as well. ### How was this patch tested? Failed test cases are fixed and all cases pass. Closes #1646 from wgtmac/ORC-1480. Authored-by: Gang Wu <ustcwg@gmail.com> Signed-off-by: Gang Wu <ustcwg@gmail.com> (cherry picked from commit 7c83925) Signed-off-by: Gang Wu <ustcwg@gmail.com>
- Loading branch information