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 11e8712dd ORC-1196: Add Spark benchmark integration tests to GHA
11e8712dd is described below

commit 11e8712ddaa0cbb67f3cf6ab023f7b6382677753
Author: William Hyun <[email protected]>
AuthorDate: Mon May 30 12:31:22 2022 -0700

    ORC-1196: Add Spark benchmark integration tests to GHA
    
    ### What changes were proposed in this pull request?
    This PR aims to add Spark benchmark integration tests to GHA.
    
    ### Why are the changes needed?
    To improve test coverage.
    
    ### How was this patch tested?
    Pass the CIs.
    
    Closes #1148 from williamhyun/sparkbench.
    
    Authored-by: William Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 190242bfbe0e62cc1fc2e952dc18665506527662)
    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 0927c7d04..209241ea9 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -91,6 +91,11 @@ add_test(
   COMMAND java ${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})
 
+add_test(
+  NAME java-bench-spark-test
+  COMMAND java ${ADD_OPENS} ${JAVA_NIO} -jar 
bench/spark/orc-benchmarks-spark-${ORC_VERSION}.jar spark data -d sales -c zstd 
-f orc
+  WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+
 install(
   FILES ${ORC_JARS}
   DESTINATION share)

Reply via email to