mirror of
https://github.com/getredash/redash.git
synced 2026-03-31 18:02:32 -04:00
Fixed cassandra DS bug by adding port to connection string
This commit is contained in:
@@ -92,9 +92,11 @@ class Cassandra(BaseQueryRunner):
|
||||
password='{}'.format(self.configuration.get('password', '')))
|
||||
connection = Cluster([self.configuration.get('host', '')],
|
||||
auth_provider=auth_provider,
|
||||
port=self.configuration.get('port', ''),
|
||||
protocol_version=self.configuration.get('protocol', 3))
|
||||
else:
|
||||
connection = Cluster([self.configuration.get('host', '')],
|
||||
port=self.configuration.get('port', ''),
|
||||
protocol_version=self.configuration.get('protocol', 3))
|
||||
session = connection.connect()
|
||||
session.set_keyspace(self.configuration['keyspace'])
|
||||
|
||||
0
redash/query_runner/google_spanner.py
Normal file
0
redash/query_runner/google_spanner.py
Normal file
Reference in New Issue
Block a user