Ville Brofeldt
ebb7fbc5f0
bugfix: Oracle timegrains fail to render when wrapped in outer query ( #7767 )
...
* Add check if TimegrainExpression col is None
* Clean up TimestampExpression proxying logic
* Remove redundant optionality from init
2019-06-26 08:56:19 +03:00
John Bodley
5c58fd1802
[format] Using Black ( #7769 )
2019-06-25 13:34:48 -07:00
Maxime Beauchemin
859d6e7c6a
chore: taking db dependencies out of requirements-dev.txt ( #7605 )
...
* chore: taking db dependencies out of requirements-dev.txt
The deps on mysqlclient and psycopg2
* Fix unit tests
* fix tox.ini
* fix tests
2019-06-23 22:37:41 -07:00
Ville Brofeldt
1c4092c61c
Add csv upload support for BigQuery ( #7756 )
...
* Add extra_require for bigquery to setup.py
* Refactor df_to_db and add df upload capability for BigQuery
* Fix unit tests and clarify kwarg logic
* Fix flake8 errors
* Add minimum versions for bigquery dependencies
* wrap to_gbq in try-catch block and raise error if pandas-gbq is missing
* Fix linting error and make error more generic
2019-06-23 14:20:09 -07:00
John Bodley
49390b3232
Revert "Allow bigint to be used as time column in Presto" #7670 ( #7678 )
2019-06-10 16:10:20 -07:00
Ville Brofeldt
95291facff
Break up db_engine_specs ( #7676 )
...
* 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
2019-06-08 11:27:13 -07:00