You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2021/08/14 22:05:34 UTC

[orc] branch main updated: ORC-948: Add hive benchmark integration tests (#860)

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new 7cd6c8e  ORC-948: Add hive benchmark integration tests (#860)
7cd6c8e is described below

commit 7cd6c8e939b3bffeba8f3115a02bc42fc4b8b9b1
Author: William Hyun <wi...@apache.org>
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.
---
 java/CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index c39f1f5..606f3dd 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -85,6 +85,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)