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 5887e76c26 [KYUUBI #7250] Fix JDBCMetadataStore Scala 2.13 compile
error
5887e76c26 is described below
commit 5887e76c26f9ca9b96fd6eeda9cb534e044bdb11
Author: ruanwenjun <[email protected]>
AuthorDate: Wed Nov 19 11:37:49 2025 +0800
[KYUUBI #7250] Fix JDBCMetadataStore Scala 2.13 compile error
### Why are the changes needed?
Fix CI failed
https://github.com/apache/kyuubi/actions/runs/19451268258/job/55656320605?pr=7249
### How was this patch tested?
Test by CI compiled
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #7250 from ruanwenjun/dev_wenjun_fixCompile.
Closes #7250
695b152c2 [ruanwenjun] [Chore] Fix JDBCMetadataStore compile error
Lead-authored-by: ruanwenjun <[email protected]>
Co-authored-by: ruanwenjun <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
---
.../org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStore.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStore.scala
b/kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStore.scala
index b7630895ce..b7e83cd563 100644
---
a/kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStore.scala
+++
b/kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStore.scala
@@ -280,7 +280,7 @@ class JDBCMetadataStore(conf: KyuubiConf) extends
MetadataStore with Logging {
queryBuilder.append(s" ${assembleWhereClause(filter, params)}")
val query = queryBuilder.toString
JdbcUtils.executeQueryWithRowMapper(query) { stmt =>
- setStatementParams(stmt, params: _*)
+ setStatementParams(stmt, params.toSeq: _*)
} { resultSet =>
resultSet.getInt(1)
}.head