mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-17 11:22:29 +00:00
Fix 2232: Presto - connection formatting issues when username/password configured (#2233)
* Fix 2232: Presto - connection formatting issues when username/password configured * Fix 2232: Presto - connection formatting issues when username/password configured
This commit is contained in:
parent
276128e8b0
commit
b4983764e5
@ -28,6 +28,7 @@ class PrestoConfig(SQLConnectionConfig):
|
|||||||
url += f"{quote_plus(self.username)}"
|
url += f"{quote_plus(self.username)}"
|
||||||
if self.password:
|
if self.password:
|
||||||
url += f":{quote_plus(self.password.get_secret_value())}"
|
url += f":{quote_plus(self.password.get_secret_value())}"
|
||||||
|
url += "@"
|
||||||
url += f"{self.host_port}"
|
url += f"{self.host_port}"
|
||||||
url += f"/{self.catalog}"
|
url += f"/{self.catalog}"
|
||||||
if self.database:
|
if self.database:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user