Skip to content

Commit

Permalink
Break up db_engine_specs (#7676)
Browse files Browse the repository at this point in the history
* Refactor db_engine_specs into package

* Rename bigquery class and add epoch funcs

* Fix flake8 errors

* Dynamically load all engine specs

* Fix linting errors and unit tests

* Implement Snowflake epoch time funcs

* Implement Teradata epoch time func

* Fix presto datasource query and remove unused import

* Fix broken datasource query

* Add mypy ignore for false positive

* Add missing license files

* Make create_time_grains_tuple public

* Fix flake8 quote

* Fix incorrect licence header
  • Loading branch information
villebro authored Jun 8, 2019
1 parent f3e5805 commit 95291fa
Show file tree
Hide file tree
Showing 28 changed files with 3,058 additions and 2,575 deletions.
2 changes: 1 addition & 1 deletion superset/connectors/sqla/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

from superset import app, db, security_manager
from superset.connectors.base.models import BaseColumn, BaseDatasource, BaseMetric
from superset.db_engine_specs import TimestampExpression
from superset.db_engine_specs.base import TimestampExpression
from superset.jinja_context import get_template_processor
from superset.models.annotations import Annotation
from superset.models.core import Database
Expand Down
Loading

0 comments on commit 95291fa

Please sign in to comment.