This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-1.7 by this push:
new 3f1e57c ORC-948: Add hive benchmark integration tests (#860)
3f1e57c is described below
commit 3f1e57cf1cebe58027c1bd48c09eef4e9717a9e3
Author: William Hyun <[email protected]>
AuthorDate: Sat Aug 14 15:05:29 2021 -0700
ORC-948: Add hive benchmark integration tests (#860)
### What changes were proposed in this pull request?
This PR aims to add hive benchmark integration tests.
### Why are the changes needed?
To improve test coverage and prevent future regressions.
### How was this patch tested?
Pass the CIs.
(cherry picked from commit 7cd6c8e939b3bffeba8f3115a02bc42fc4b8b9b1)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
java/CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index 176be7e..43f3867 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -86,6 +86,11 @@ add_test(
COMMAND java ${ADD_OPENS} ${JAVA_NIO} -jar
bench/core/orc-benchmarks-core-${ORC_VERSION}-uber.jar scan data -d sales
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+add_test(
+ NAME java-bench-hive-test
+ COMMAND java -Dbench.root.dir=. ${ADD_OPENS} ${JAVA_NIO} -jar
bench/hive/orc-benchmarks-hive-${ORC_VERSION}-uber.jar write -i 1 -I 0 -t 1 data
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+
install(
FILES ${ORC_JARS}
DESTINATION share)