John Bodley
9fc37ea9f1
[ci] Deprecate flake8 ( #8409 )
...
* [ci] Deprecate flake8
* Addressing @villebro's comments
2019-10-18 14:44:27 -07:00
serenajiang
876d329474
[fix] make names non-nullable ( #8371 )
2019-10-15 16:51:04 -07:00
serenajiang
7e7ea3d9a0
Revert "[fix] make datasource names non-nullable ( #8332 )" ( #8363 )
...
This reverts commit 65a05ca47e
.
2019-10-09 11:38:57 -07:00
serenajiang
65a05ca47e
[fix] make datasource names non-nullable ( #8332 )
2019-10-04 09:13:25 -07:00
Maxime Beauchemin
68c4c3a0b9
Prevent 'main' database connection creation ( #8038 )
...
* prevent 'main' database connection creation
* fix tests
* removing get_main_database
* Kill get_main_database
* Point to examples tables
2019-09-08 10:18:09 -07:00
Ville Brofeldt
1982b74af2
Add check for calls to cache_key_wrapper ( #8128 )
...
* Add check for calls to cache_key_wrapper to avoid unavoidable compilation of query
* Add fetch_values_predicate to check
* Only check relevant attributes
* Address nit
2019-08-27 13:36:05 -07:00
Ville Brofeldt
07a76f83b1
[Bugfix] Remove prequery properties from query_obj ( #7896 )
...
* Create query_obj for every filter
* Deprecate is_prequery and prequeries from query_obj
* Fix tests
* Fix typos and remove redundant ; from sql
* Add typing to namedtuples and move all query str logic to one place
* Fix unit test
2019-07-23 22:13:58 +03:00
Arpit
ee3430cce5
[Bugfix] Response header and response mismatch on explore result from sqllab ( #7907 )
...
* fix(sql-lab explore): fixed response data and header type to be aligned
* fix(sql-lab explore): fixed test error caused by incorrect test at master
* fix(sql-lab explore): reformatted
* fix(sql-lab explore): removed unused import
2019-07-22 08:47:34 +03:00
Ville Brofeldt
4568b2a532
Add cache_key_wrapper to Jinja template processor ( #7816 )
2019-07-20 09:12:35 -07:00
John Bodley
5c58fd1802
[format] Using Black ( #7769 )
2019-06-25 13:34:48 -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
Maxime Beauchemin
ed79134e7f
auto-set 'Is Temporal' to true where column_name == '__time' ( #6857 )
...
* auto-set 'Is Temporal' to true where column_name == '__time'
* Adress comments
* lint
* clarifying name and comments
2019-03-04 20:51:11 -08:00