Merge pull request #2087 from yershalom/add_cockraochdb_ds

Added new CockroachDB DS to redash
This commit is contained in:
Arik Fraimovich 2017-11-22 18:23:36 +02:00 committed by GitHub
commit 3d9d658594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,5 +238,15 @@ class Redshift(PostgreSQL):
return schema.values()
class CockroachDB(PostgreSQL):
def __init__(self, configuration):
super(CockroachDB, self).__init__(configuration)
@classmethod
def type(cls):
return "cockroach"
register(PostgreSQL)
register(Redshift)
register(CockroachDB)