-
Notifications
You must be signed in to change notification settings - Fork 937
[KYUUBI #7028] Persist the kubernetes application terminate state into metastore for app info store fallback #7029
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
0b0700b
to
f761223
Compare
3feec05
to
d41eea6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7029 +/- ##
=======================================
Coverage 0.00% 0.00%
=======================================
Files 695 696 +1
Lines 42833 43043 +210
Branches 5833 5841 +8
=======================================
- Misses 42833 43043 +210 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
d41eea6
to
b93e31d
Compare
b93e31d
to
c59b079
Compare
Testing passed, cc @pan3793 |
5293f09
to
fc437aa
Compare
This PR has been well tested. cc @pan3793 |
fc437aa
to
0cad265
Compare
kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStore.scala
Outdated
Show resolved
Hide resolved
kyuubi-server/src/main/resources/sql/mysql/006-KYUUBI-7028.mysql.sql
Outdated
Show resolved
Hide resolved
kyuubi-server/src/main/resources/sql/mysql/006-KYUUBI-7028.mysql.sql
Outdated
Show resolved
Hide resolved
kyuubi-server/src/main/resources/sql/mysql/006-KYUUBI-7028.mysql.sql
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DB schema LGTM, the upsert implementation might have improvement room
kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStore.scala
Outdated
Show resolved
Hide resolved
kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStore.scala
Show resolved
Hide resolved
kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStore.scala
Outdated
Show resolved
Hide resolved
4177681
to
d167623
Compare
|VALUES (${colsToInsert.map(_ => "?").mkString(",")}) | ||
|ON CONFLICT ($keyCol) | ||
|DO UPDATE SET | ||
|${colsToReplace.map(c => s"$c = EXCLUDED.$c").mkString(",")} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|INSERT INTO $table (${colsToInsert.mkString(",")}) | ||
|VALUES (${colsToInsert.map(_ => "?").mkString(",")}) | ||
|ON DUPLICATE KEY UPDATE | ||
|${colsToReplace.map(c => s"$c = VALUES($c)").mkString(",")} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
99f08a4
to
57b42dd
Compare
57b42dd
to
12c24b1
Compare
ccea4c7
to
327a0d5
Compare
Why are the changes needed?
How was this patch tested?
UT and IT.
Was this patch authored or co-authored using generative AI tooling?
No.