Skip to content

Commit

Permalink
Added support for Vertica Grains
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Albertalli committed May 25, 2016
1 parent 7d27692 commit 5dfcce5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions caravel/models.py
Original file line number Diff line number Diff line change
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 5dfcce5

Please sign in to comment.