This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 057d7333287 [fix](cases) fix alias conflict case problem of driver url
error (#42676) (#42859)
057d7333287 is described below
commit 057d7333287c5812074389ca351e05bf5c3b4dd2
Author: LiBinfeng <[email protected]>
AuthorDate: Wed Oct 30 09:57:26 2024 +0800
[fix](cases) fix alias conflict case problem of driver url error (#42676)
(#42859)
pick: #42676
change driver url to doris internal one to get driver process more
robust
## Proposed changes
Issue Number: close #xxx
<!--Describe your changes.-->
---
regression-test/suites/nereids_syntax_p0/alias_conflict.groovy | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/regression-test/suites/nereids_syntax_p0/alias_conflict.groovy
b/regression-test/suites/nereids_syntax_p0/alias_conflict.groovy
index a6bc70387fe..ad3a04d9f1d 100644
--- a/regression-test/suites/nereids_syntax_p0/alias_conflict.groovy
+++ b/regression-test/suites/nereids_syntax_p0/alias_conflict.groovy
@@ -17,6 +17,9 @@
suite("alias_conflict") {
+ String s3_endpoint = getS3Endpoint()
+ String bucket = getS3BucketName()
+ String driver_url =
"https://${bucket}.${s3_endpoint}/regression/jdbc_driver/mysql-connector-java-8.0.25.jar"
sql """ DROP TABLE IF EXISTS `test_alias_conflict1` """
sql """ DROP TABLE IF EXISTS `test_alias_conflict2` """
sql """ DROP TABLE IF EXISTS `test_alias_conflict3` """
@@ -163,7 +166,7 @@ suite("alias_conflict") {
'user'='${context.config.jdbcUser}',
'password'='${context.config.jdbcPassword}',
'jdbc_url' = '${context.config.jdbcUrl}',
- 'driver_url' =
'https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.4.0/mysql-connector-j-8.4.0.jar',
+ 'driver_url' = "${driver_url}",
'driver_class' = 'com.mysql.cj.jdbc.Driver'
);
"""
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]