This is an automated email from the ASF dual-hosted git repository. dbecker pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/impala.git
commit a98c783d45a0bcd3dd8a7cefe8472eaa452d4363 Author: Tamas Mate <[email protected]> AuthorDate: Tue Jun 20 16:00:51 2023 +0200 IMPALA-11949: Make backend AVRO C++ library available The C++ library has been added earlier to the toolchain. This is a small commit to allow downloading the C++ Avro library with the toolchain and starting a build with it. Its aim is to help transitioning from C to C++ library, once the transition is complete this environment variable can be deprecated and removed. Testing: - Manualy tested switching and downloading the package Change-Id: I397341db1ea7195db3649f5220a3ffe8a3919681 Reviewed-on: http://gerrit.cloudera.org:8080/20097 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- bin/impala-config.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/impala-config.sh b/bin/impala-config.sh index 85e0b7095..8359791ac 100755 --- a/bin/impala-config.sh +++ b/bin/impala-config.sh @@ -76,6 +76,10 @@ export IMPALA_VERSION=4.3.0-SNAPSHOT # (e.g. thrift) will also depend on this. export USE_APACHE_HIVE=${USE_APACHE_HIVE-false} +# Whether to build the backend on Avro C++ library or C. +# This is added temporarily to help transitioning from Avro C to C++ library. +export USE_AVRO_CPP=${USE_AVRO_CPP:=false} + # The unique build id of the toolchain to use if bootstrapping. This is generated by the # native-toolchain build when publishing its build artifacts. This should be changed when # moving to a different build of the toolchain, e.g. when a version is bumped or a @@ -84,7 +88,11 @@ export USE_APACHE_HIVE=${USE_APACHE_HIVE-false} export IMPALA_TOOLCHAIN_BUILD_ID=324-bb64c6ed91 # Versions of toolchain dependencies. # ----------------------------------- -export IMPALA_AVRO_VERSION=1.7.4-p5 +if $USE_AVRO_CPP; then + export IMPALA_AVRO_VERSION=1.11.1-p1 +else + export IMPALA_AVRO_VERSION=1.7.4-p5 +fi unset IMPALA_AVRO_URL export IMPALA_BINUTILS_VERSION=2.35.1 unset IMPALA_BINUTILS_URL
