[chore](java udf)Add Java UDF compilation options (#19468)

This commit is contained in:
yongkang.zhong
2023-05-10 10:51:11 +08:00
committed by GitHub
parent 1a423350f8
commit b72ff93c7a

View File

@ -46,6 +46,7 @@ Usage: $0 <options>
--audit build audit loader. Default ON.
--spark-dpp build Spark DPP application. Default ON.
--hive-udf build Hive UDF library for Spark Load. Default ON.
--java-udf build Java UDF. Default ON.
--clean clean and build target
-j build Backend parallel
@ -115,6 +116,7 @@ if ! OPTS="$(getopt \
-l 'meta-tool' \
-l 'spark-dpp' \
-l 'hive-udf' \
-l 'java-udf' \
-l 'clean' \
-l 'coverage' \
-l 'help' \
@ -185,6 +187,10 @@ else
BUILD_HIVE_UDF=1
shift
;;
--java-udf)
BUILD_JAVA_UDF=1
shift
;;
--clean)
CLEAN=1
shift
@ -411,6 +417,10 @@ if [[ "${BUILD_HIVE_UDF}" -eq 1 ]]; then
modules+=("fe-common")
modules+=("hive-udf")
fi
if [[ "${BUILD_HIVE_UDF}" -eq 1 ]]; then
modules+=("fe-common")
modules+=("java-udf")
fi
FE_MODULES="$(
IFS=','
echo "${modules[*]}"