Commit Graph

76 Commits

Author SHA1 Message Date
Beto Dealmeida 26d8077e97
chore: improve SQL parsing (#26767) 2024-03-13 18:27:01 -04:00
John Bodley 847ed3f5b0
refactor: Ensure Flask framework leverages the Flask-SQLAlchemy session (Phase II) (#26909) 2024-02-14 06:20:15 +13:00
Erich 484901f483
fix(pinot): typo in the name for epoch_ms_to_dttm (#26906) 2024-01-30 20:49:55 -08:00
Vitor Avila 4592dd13fa
fix(BigQuery): Support special characters in column/metric names used in ORDER BY (#26461) 2024-01-23 20:26:53 -07:00
Mikel Vuka 9972ac6908
refactor: use DATE_TRUNC for Elasticsearch time grain (#25717)
Co-authored-by: Mikel Vuka <mikel.vuka@zalando.de>
2023-10-20 10:05:05 -07:00
Mikel Vuka e7cdfeeb2c
feat: Add week time grain for Elasticsearch datasets (#25683)
Co-authored-by: Mikel Vuka <mikel.vuka@zalando.de>
2023-10-18 19:39:16 -07:00
Rui Zhao be3714e131
fix(Presto): catch DatabaseError when testing Presto views (#25559)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2023-10-11 11:31:07 -06:00
Erich c2a21d2da0
refactor(pinot): The `python_date_format` for a temporal column was not being passed to `get_timestamp_expr` (#24942) 2023-08-27 18:46:39 +02:00
Hugh A. Miles II 226c7f807d
fix: SSH Tunnel creation with dynamic form (#24196) 2023-07-02 23:48:48 -04:00
Daniel Vaz Gaspar 0ddc0a6738
chore: remove marshmallow-enum dependency and bump FAB (#24499) 2023-06-27 08:37:43 +01:00
Hugh A. Miles II 93e1db4bd9
fix: save columns reference from sqllab save datasets flow (#24248) 2023-06-20 13:54:19 -04:00
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