an-shi-chi-fan opened a new issue, #17078:
URL: https://github.com/apache/dolphinscheduler/issues/17078

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
       ```java
   //jdbc concat not have others param
   
       public BaseConnectionParam createConnectionParams(BaseDataSourceParamDTO 
datasourceParam) {
           PrestoDataSourceParamDTO prestoParam = (PrestoDataSourceParamDTO) 
datasourceParam;
           String address =
                   String.format("%s%s:%s", DataSourceConstants.JDBC_PRESTO, 
prestoParam.getHost(), prestoParam.getPort());
           String jdbcUrl = address + "/" + prestoParam.getDatabase();
   
           PrestoConnectionParam prestoConnectionParam = new 
PrestoConnectionParam();
           prestoConnectionParam.setUser(prestoParam.getUserName());
           
prestoConnectionParam.setPassword(PasswordUtils.encodePassword(prestoParam.getPassword()));
           prestoConnectionParam.setOther(prestoParam.getOther());
           prestoConnectionParam.setAddress(address);
           prestoConnectionParam.setJdbcUrl(jdbcUrl);
           prestoConnectionParam.setDatabase(prestoParam.getDatabase());
           prestoConnectionParam.setDriverClassName(getDatasourceDriver());
           prestoConnectionParam.setValidationQuery(getValidationQuery());
   
           return prestoConnectionParam;
       }
   ```
   
   ### What you expected to happen
   
   fix it in branch 3.2.x
   
   ### How to reproduce
   
   i had provide bug code in What happened
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to