Skip to content

Commit 5887e76

Browse files
ruanwenjunruanwenjun
authored andcommitted
[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 695b152 [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]>
1 parent e7f06a3 commit 5887e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kyuubi-server/src/main/scala/org/apache/kyuubi/server/metadata/jdbc/JDBCMetadataStore.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ class JDBCMetadataStore(conf: KyuubiConf) extends MetadataStore with Logging {
280280
queryBuilder.append(s" ${assembleWhereClause(filter, params)}")
281281
val query = queryBuilder.toString
282282
JdbcUtils.executeQueryWithRowMapper(query) { stmt =>
283-
setStatementParams(stmt, params: _*)
283+
setStatementParams(stmt, params.toSeq: _*)
284284
} { resultSet =>
285285
resultSet.getInt(1)
286286
}.head

0 commit comments

Comments
 (0)