This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch branch-1.6
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/branch-1.6 by this push:
new a5f170ac2 [KYUUBI #4322] MySQL url configuration joiner should use `&`
instead of `;`
a5f170ac2 is described below
commit a5f170ac22012a3bb9e1278b4984d68adada5322
Author: Yikf <[email protected]>
AuthorDate: Tue Feb 14 13:30:25 2023 +0800
[KYUUBI #4322] MySQL url configuration joiner should use `&` instead of `;`
### _Why are the changes needed?_
The mysql url configuration joiner should use `&` instead of `;`
### _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/develop_tools/testing.html#running-tests)
locally before make a pull request
Closes #4322 from Yikf/mysql-fe-test.
Closes #4322
8d289e793 [Yikf] The configuration joiner should use `&` instead of `;`
Authored-by: Yikf <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
(cherry picked from commit 16d4735c92f7fde9b31e1831647bab2e058a5906)
Signed-off-by: Cheng Pan <[email protected]>
---
.../test/scala/org/apache/kyuubi/server/mysql/MySQLJDBCTestHelper.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/kyuubi-server/src/test/scala/org/apache/kyuubi/server/mysql/MySQLJDBCTestHelper.scala
b/kyuubi-server/src/test/scala/org/apache/kyuubi/server/mysql/MySQLJDBCTestHelper.scala
index c258b6e69..3c3913c3f 100644
---
a/kyuubi-server/src/test/scala/org/apache/kyuubi/server/mysql/MySQLJDBCTestHelper.scala
+++
b/kyuubi-server/src/test/scala/org/apache/kyuubi/server/mysql/MySQLJDBCTestHelper.scala
@@ -42,7 +42,7 @@ trait MySQLJDBCTestHelper extends JDBCTestHelper {
if (jdbcConfigs.isEmpty) {
""
} else {
- "?" + jdbcConfigs.map(kv => kv._1 + "=" + kv._2).mkString(";")
+ "?" + jdbcConfigs.map(kv => kv._1 + "=" + kv._2).mkString("&")
}
jdbcUrl + jdbcConfStr
}