Skip to content

Commit

Permalink
Added support for Vertica Grains (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
LAlbertalli authored and mistercrunch committed Jun 1, 2016
1 parent 409233d commit ae7fb01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions caravel/models.py
Expand Up @@ -424,6 +424,7 @@ def grains(self):
),
}
db_time_grains['redshift'] = db_time_grains['postgresql']
db_time_grains['vertica'] = db_time_grains['postgresql']
for db_type, grains in db_time_grains.items():
if self.sqlalchemy_uri.startswith(db_type):
return grains
Expand Down

0 comments on commit ae7fb01

Please sign in to comment.