diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 2ff02d1b8..9070fbc12 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -53,8 +53,8 @@ jobs: - name: Install OAP optimized Arrow (C++ libs) run: | cd /tmp - git clone https://github.com/oap-project/arrow.git - cd arrow && git checkout arrow-4.0.0-oap && cd cpp + git clone https://github.com/zhixingheyi-tian/arrow.git + cd arrow && git checkout fix_buffer_length && cd cpp mkdir build && cd build cmake .. -DARROW_JNI=ON -DARROW_GANDIVA_JAVA=ON -DARROW_GANDIVA=ON -DARROW_PARQUET=ON -DARROW_ORC=ON -DARROW_CSV=ON -DARROW_HDFS=ON -DARROW_FILESYSTEM=ON -DARROW_WITH_SNAPPY=ON -DARROW_JSON=ON -DARROW_DATASET=ON -DARROW_WITH_LZ4=ON -DGTEST_ROOT=/usr/src/gtest && make -j2 sudo make install @@ -96,8 +96,8 @@ jobs: - name: Install OAP optimized Arrow (C++ libs) run: | cd /tmp - git clone https://github.com/oap-project/arrow.git - cd arrow && git checkout arrow-4.0.0-oap && cd cpp + git clone https://github.com/zhixingheyi-tian/arrow.git + cd arrow && git checkout fix_buffer_length && cd cpp mkdir build && cd build cmake .. -DARROW_JNI=ON -DARROW_GANDIVA_JAVA=ON -DARROW_GANDIVA=ON -DARROW_PARQUET=ON -DARROW_ORC=ON -DARROW_CSV=ON -DARROW_HDFS=ON -DARROW_FILESYSTEM=ON -DARROW_WITH_SNAPPY=ON -DARROW_JSON=ON -DARROW_DATASET=ON -DARROW_WITH_LZ4=ON -DGTEST_ROOT=/usr/src/gtest && make -j2 sudo make install @@ -141,8 +141,8 @@ jobs: - name: Install OAP optimized Arrow (C++ libs) run: | cd /tmp - git clone https://github.com/oap-project/arrow.git - cd arrow && git checkout arrow-4.0.0-oap && cd cpp + git clone https://github.com/zhixingheyi-tian/arrow.git + cd arrow && git checkout fix_buffer_length && cd cpp mkdir build && cd build cmake .. -DARROW_JNI=ON -DARROW_GANDIVA_JAVA=ON -DARROW_GANDIVA=ON -DARROW_PARQUET=ON -DARROW_ORC=ON -DARROW_CSV=ON -DARROW_HDFS=ON -DARROW_FILESYSTEM=ON -DARROW_WITH_SNAPPY=ON -DARROW_JSON=ON -DARROW_DATASET=ON -DARROW_WITH_LZ4=ON -DGTEST_ROOT=/usr/src/gtest && make -j2 sudo make install diff --git a/arrow-data-source/script/build_arrow.sh b/arrow-data-source/script/build_arrow.sh index d8ec40128..a42de4aea 100755 --- a/arrow-data-source/script/build_arrow.sh +++ b/arrow-data-source/script/build_arrow.sh @@ -62,7 +62,7 @@ echo "ARROW_SOURCE_DIR=${ARROW_SOURCE_DIR}" echo "ARROW_INSTALL_DIR=${ARROW_INSTALL_DIR}" mkdir -p $ARROW_SOURCE_DIR mkdir -p $ARROW_INSTALL_DIR -git clone https://github.com/oap-project/arrow.git --branch arrow-4.0.0-oap $ARROW_SOURCE_DIR +git clone https://github.com/zhixingheyi-tian/arrow.git --branch fix_buffer_length $ARROW_SOURCE_DIR pushd $ARROW_SOURCE_DIR cmake ./cpp \ diff --git a/native-sql-engine/cpp/src/CMakeLists.txt b/native-sql-engine/cpp/src/CMakeLists.txt index da7540651..57f57530b 100644 --- a/native-sql-engine/cpp/src/CMakeLists.txt +++ b/native-sql-engine/cpp/src/CMakeLists.txt @@ -139,9 +139,9 @@ macro(build_arrow STATIC_ARROW) set(BINARY_RELEASE_DIR "${root_directory}/releases") ExternalProject_Add(arrow_ep - GIT_REPOSITORY https://github.com/oap-project/arrow.git + GIT_REPOSITORY https://github.com/zhixingheyi-tian/arrow.git SOURCE_DIR ${ARROW_SOURCE_DIR} - GIT_TAG arrow-4.0.0-oap + GIT_TAG fix_buffer_length BUILD_IN_SOURCE 1 INSTALL_DIR ${ARROW_PREFIX} INSTALL_COMMAND make install