You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2023/11/01 07:03:41 UTC
(kyuubi) branch master updated: [KYUUBI #5561] Binary distribution artifact ships database schema scripts
This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new c81124bc9 [KYUUBI #5561] Binary distribution artifact ships database schema scripts
c81124bc9 is described below
commit c81124bc93b6099a852238ba969e5a25a62fe57b
Author: senmiaoliu <se...@trip.com>
AuthorDate: Wed Nov 1 15:03:33 2023 +0800
[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 <se...@trip.com>
Signed-off-by: Cheng Pan <ch...@apache.org>
---
build/dist | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/build/dist b/build/dist
index df9498008..e34723d94 100755
--- a/build/dist
+++ b/build/dist
@@ -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/"