Skip to content

Commit

Permalink
[KYUUBI #5561] Binary distribution artifact ships database schema scr…
Browse files Browse the repository at this point in the history
…ipts

### _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

831f06a [senmiaoliu] just copy server resource sql
64b90b1 [senmiaoliu] copy metadata sql to dist

Authored-by: senmiaoliu <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
(cherry picked from commit c81124b)
Signed-off-by: Cheng Pan <[email protected]>
  • Loading branch information
lsm1 authored and pan3793 committed Nov 1, 2023
1 parent 90e96a7 commit 91642f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/dist
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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/"

Expand Down

0 comments on commit 91642f4

Please sign in to comment.