John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Daniel Vaz Gaspar
97482c57b5
chore: bump werkzeug and Flask ( #23965 )
2023-05-12 15:01:30 +01:00
Elizabeth Thompson
71106cfd97
feat: create dtype option for csv upload ( #23716 )
2023-04-24 12:53:53 -07:00
John Bodley
b35b5a6e05
chore(db_engine_specs): Refactor get_index ( #23656 )
2023-04-13 09:23:16 +12:00
Beto Dealmeida
e2e0ad5ef5
feat(presto): `get_catalog_names` ( #23599 )
2023-04-06 09:27:49 -07:00
Beto Dealmeida
7a1aa6387c
feat(bigquery): `get_catalog_names` ( #23461 )
2023-04-05 13:32:28 -07:00
Rémy DUBOIS
07a632891c
fix(chart): non existent time grain no longer breaks the application ( #23441 )
...
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2023-03-23 16:36:50 +02:00
Beto Dealmeida
8588f81855
feat(DB engine spec): `get_catalog_names` ( #23447 )
2023-03-22 13:40:14 -07:00
Hugh A. Miles II
b820eb8235
chore: Update pre-commit packages ( #23173 )
2023-03-13 17:05:13 -06:00
Josh Soref
78ede590ee
chore(frontend): Spelling ( #19676 )
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-02-02 11:23:11 -07:00
Ville Brofeldt
cd6fc35f60
chore(db_engine_specs): clean up column spec logic and add tests ( #22871 )
2023-01-31 15:54:07 +02:00
Evan Rusackas
6998f65e1d
chore: removing unnecessary double spaces, a.k.a. "shotgun holes" ( #22852 )
2023-01-26 11:48:41 -07:00
John Bodley
0b31b2cb87
fix(hive): Regression in #21794 ( #22794 )
2023-01-21 13:00:36 +13:00
Hugh A. Miles II
9c0d6c51f1
chore(ssh-tunnel): Refactor establishing raw connection with contextmanger ( #22366 )
2022-12-29 14:20:45 -05:00
John Bodley
71982ee174
chore: Re-add inheritance of Presto macros for Trino et al. ( #22435 )
2022-12-20 08:27:20 +13:00
Beto Dealmeida
bdeedaaf80
chore: set Snowflake user agent ( #22432 )
2022-12-15 17:08:34 -08:00
Michiel De Smet
90d79c78d2
fix(trino): Fix Trino timestamp conversion ( #21737 )
2022-12-14 10:49:14 -07:00
Elizabeth Thompson
5c77f1ad2a
feat: add databricks form ( #21573 )
2022-12-02 10:36:27 -08:00
EugeneTorap
7bc5f04368
chore: Bump bigquery libs ( #21466 )
2022-12-02 12:48:36 +02:00
John Bodley
7e54b88a51
chore: Change get_table_names/get_view_names return type ( #22085 )
2022-11-18 12:41:21 -08:00
EugeneTorap
38a3fbdc33
feat: use a new official CH driver: clickhouse-connect ( #22039 )
2022-11-16 10:53:15 -08:00
Hugh A. Miles II
e23efefc46
feat: refactor all `get_sqla_engine` to use contextmanager in codebase ( #21943 )
2022-11-15 13:45:14 -05:00
John Bodley
9f7bd1e63f
fix(presto/trino): Ensure get_table_names only returns real tables ( #21794 )
2022-11-09 14:30:49 -08:00
Antonio Rivero Martinez
203b289021
feat(bigquery): Custom message when Service Account doesnt have the correct Roles and Permissions ( #21838 )
2022-10-26 19:44:09 -04:00
Elizabeth Thompson
e98943e580
refactor: pass all properties to validate_parameters ( #21487 )
2022-10-03 17:48:54 -07:00
Yongjie Zhao
737d4dcf0c
refactor: refine timestamp expr function ( #21510 )
2022-09-20 18:51:01 +08:00
John Bodley
eac6fdcd29
chore(sqllab): Cleanup /tables/... endpoint ( #21284 )
2022-09-13 08:22:12 -07:00
Beto Dealmeida
34a79add04
feat: filter parameters from DB API ( #21248 )
2022-09-02 11:50:04 -07:00
Beto Dealmeida
8772e2cdb3
fix: improve get_db_engine_spec_for_backend ( #21171 )
...
* fix: improve get_db_engine_spec_for_backend
* Fix tests
* Fix docs
* fix lint
* fix fallback
* Fix engine validation
* Fix test
2022-08-29 11:42:42 -07:00
Đặng Minh Dũng
ccb293a083
fix(Trino): create `PrestoBaseEngineSpec` base class to share common code between Trino and Presto ( #21066 )
...
* chore: create `PrestoBaseEngineSpec` class that share common functions between Presto and Trino
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* feat(Trino): support CertificateAuthentication
* chore(Presto): move `get_function_names` to `PrestoBaseEngineSpec`
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* chores(Presto): remove `is_readonly_query`
* feat(Trino): implement `extra_table_metadata`
* feat(Trino): specify `User-Agent`
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* fix: pylint
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* chores(Presto): move `PrestoBaseEngineSpec` to `presto.py`
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* fix(Presto): typing annotations
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2022-08-29 10:21:28 +03:00
John Bodley
8c0ac9017f
fix: Presto _show_columns return type ( #20757 )
2022-07-19 09:52:22 -07:00
Beto Dealmeida
e60083b45b
chore: upgrade SQLAlchemy to 1.4 ( #19890 )
...
* chore: upgrade SQLAlchemy
* Convert integration test to unit test
* Fix SQLite
* Update method names/docstrings
* Skip test
* Fix SQLite
2022-07-18 15:21:38 -07:00
Jesse Yang
2cb4fd31f1
refactor(test): add login_as_admin in global conftest ( #20703 )
2022-07-14 18:10:31 -07:00
John Bodley
b08e21efd9
[requirements] Resolve rebase conflicts ( #20152 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-03 15:27:35 -07:00
Ville Brofeldt
e2f11d3680
fix(presto,trino): use correct literal dttm separator ( #20123 )
...
* fix(presto,trino): use correct literal dttm separator
* remove redundant tests
2022-05-19 20:42:31 +03:00
Ville Brofeldt
99f1f9ec61
fix(sqla): replace custom dttm type with literal_column ( #19917 )
2022-05-03 07:19:36 +03:00
Hugh A. Miles II
a6f46013d9
feat: 10/15/30 min grain to Pinot ( #19724 )
...
* add new grains to pinot
* update test
2022-04-19 11:16:48 -07:00
Yongjie Zhao
d954c3df86
fix: can't sync temporal flag on virtual table ( #19366 )
2022-04-01 16:40:50 +08:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03:00
Corbin Robb
0ae1ca7e02
chore(tests-backend): migrate snowflake and sqlite to unit tests ( #18854 )
...
* migrate snowflake and sqlite
* change structure to better match the other unit tests
Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2022-02-23 11:11:10 -06:00
Ville Brofeldt
7ad38d5ba1
chore(tests): migrate mssql tests to pytest ( #18251 )
...
* move test
* migrate to pytest
2022-02-02 13:19:58 +02:00
ofekisr
e53a50a155
chore(supeset.utils.core): move all database utils to database utils module ( #18058 )
2022-01-16 08:32:50 +02:00
Đặng Minh Dũng
0b67fe1beb
feat: Trino Authentications ( #17593 )
...
* feat: support Trino Authentications
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* docs: Trino Authentications
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2022-01-14 21:02:47 -08:00
Bogdan
afd2e9f2ca
chore: update fixtures scope that are loading data into the analytical db ( #17780 )
...
* Update db setup fixture scope
* Load data into db only once
* Update fixture scopes for data loading
* cleanup imports
* try import
* Update scope
* fix cleanup
* Import all fixtures
* Separate data log and metadata creation
* Retain table description
* fix dtype
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2021-12-16 16:11:47 -08:00
Ville Brofeldt
b2ffa268cd
fix(sqla): make text clause escaping optional ( #17641 )
2021-12-03 12:35:26 +02:00
Karthikeyan Singaravelan
11cf15f8dc
chore: Fix deprecated unittest aliases for Python 3.11 compatibility. ( #17562 )
...
* chore: Fix deprecated unittest aliases for Python 3.11 compatibility.
* chore: Cache pip dependencies.
* chore: Cache more pip dependencies.
2021-11-26 18:21:01 +02:00
Đặng Minh Dũng
ebb34196f2
feat: trino support server-cert ( #16346 )
...
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2021-11-26 13:28:15 +02:00
aniaan
5a1c68177e
fix(elasticsearch): time_zone setting does not work for cast datetime expressions ( #17048 )
...
* fix(elasticsearch): cast does not take effect for time zone settings
* test(elasticsearch): add test
* fix(test): fix typo
* docs(elasticsearch): add annotation
* docs(elasticsearch): add time_zone desc
* docs(elasticsearch): fix typo
* refactor(db_engine): change convert_dttm signature
* fix(test): fix test
* fix(es): add try catch
* fix(test): fix caplog
* fix(test): fix typo
2021-11-25 11:58:44 +02:00
Long Le Xich
bc855f4040
fix(hive): Update _latest_partition_from_df in HiveEngineSpec to work on tables with multiple indexes ( #14302 )
...
* Fix _latest_partition_from_df in HiveEngineSpec
* Add test HiveEngineSpec._latest_partition_from_df
* Fix formatting to pass black
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-23 10:07:47 +02:00
Rafał Ganczarek
8da982bc7c
fix(presto): expand data with null item ( #17470 )
...
* fix(presto): expand data with null item
* Fixed pre-commit check
2021-11-21 20:10:35 +02:00