[KYUUBI #5561] Binary distribution artifact ships database schema scripts
### _Why are the changes needed?_ close #5561 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request ### _Was this patch authored or co-authored using generative AI tooling?_ NO Closes #5589 from lsm1/branch-kyuubi-5561. Closes #5561 831f06ae5 [senmiaoliu] just copy server resource sql 64b90b144 [senmiaoliu] copy metadata sql to dist Authored-by: senmiaoliu <senmiaoliu@trip.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
parent
9cda08beea
commit
c81124bc93
@ -249,6 +249,7 @@ mkdir -p "$DISTDIR/pid"
|
||||
mkdir -p "$DISTDIR/logs"
|
||||
mkdir -p "$DISTDIR/work"
|
||||
mkdir -p "$DISTDIR/jars"
|
||||
mkdir -p "$DISTDIR/db-schema"
|
||||
mkdir -p "$DISTDIR/beeline-jars"
|
||||
mkdir -p "$DISTDIR/web-ui"
|
||||
mkdir -p "$DISTDIR/externals/engines/flink"
|
||||
@ -270,6 +271,9 @@ echo "Build flags: $@" >> "$DISTDIR/RELEASE"
|
||||
# Copy kyuubi server jars
|
||||
cp -r "$KYUUBI_HOME"/kyuubi-assembly/target/scala-$SCALA_VERSION/jars/*.jar "$DISTDIR/jars/"
|
||||
|
||||
# Copy kyuubi metadata sql
|
||||
cp -r "$KYUUBI_HOME"/kyuubi-server/src/main/resources/sql/* "$DISTDIR/db-schema/"
|
||||
|
||||
# Copy kyuubi beeline jars
|
||||
cp "$KYUUBI_HOME"/kyuubi-hive-beeline/target/*.jar "$DISTDIR/beeline-jars/"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user