mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Presto: ignore blank passwords (#3791)
PyHive expects only None as no password.
This commit is contained in:
@@ -103,7 +103,7 @@ class Presto(BaseQueryRunner):
|
||||
port=self.configuration.get('port', 8080),
|
||||
protocol=self.configuration.get('protocol', 'http'),
|
||||
username=self.configuration.get('username', 'redash'),
|
||||
password=self.configuration.get('password'),
|
||||
password=(self.configuration.get('password') or None),
|
||||
catalog=self.configuration.get('catalog', 'hive'),
|
||||
schema=self.configuration.get('schema', 'default'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user