Beto Dealmeida
fa095a98ed
fix: Trino get_columns ( #29566 )
2024-07-12 16:37:49 -04:00
John Bodley
8fb8199a55
chore(dao/command): Add transaction decorator to try to enforce "unit of work" ( #24969 )
2024-06-28 12:33:56 -07:00
Eyal Ezer
07b2449bd7
refactor: Unify all json.(loads|dumps) usage to utils.json ( #28702 )
...
Co-authored-by: Eyal Ezer <eyal.ezer@ge.com >
2024-05-28 14:17:41 -07:00
John Bodley
4ff17409ab
fix: Handling of column types for Presto, Trino, et al. ( #28653 )
2024-05-28 08:56:38 -07:00
John Bodley
4fa7619b1f
fix: revert fix(presto preview): re-enable schema previsualization for Trino/Presto table/schemas" ( #28613 )
2024-05-21 15:23:32 -03:00
Beto Dealmeida
5da6d2bd88
feat: add support for catalogs ( #28416 )
2024-05-16 12:49:31 -04:00
Balthazar Rouberol
afdf0389a3
fix(presto preview): re-enable schema previsualization for Trino/Presto table/schemas ( #26782 )
2024-05-13 15:16:12 -07:00
Beto Dealmeida
e90246fd1f
feat(SIP-95): permissions for catalogs ( #28317 )
2024-05-06 11:41:58 -04:00
Beto Dealmeida
6cf681df68
feat(SIP-95): new endpoint for table metadata ( #28122 )
2024-04-25 12:23:49 -04:00
Maxime Beauchemin
2d63722150
chore: set up ruff as a new linter/formatter ( #28158 )
2024-04-24 17:19:53 -07:00
Beto Dealmeida
68a982dfe6
feat(sip-95): new endpoint for extra table metadata ( #28063 )
2024-04-18 10:42:53 -04:00
Beto Dealmeida
9377227e06
chore(OAuth2): refactor for custom OAuth2 clients ( #27880 )
2024-04-05 12:17:39 -04:00
John Bodley
601432ad82
fix(pylint): Address errors/warnings introduced by #27867 ( #27889 )
2024-04-03 18:41:21 -07:00
Beto Dealmeida
9022f5c519
feat(SIP-85): OAuth2 for databases ( #27631 )
2024-04-02 22:05:33 -04:00
John Bodley
7af82ae87d
refactor: Ensure Celery leverages the Flask-SQLAlchemy session ( #26186 )
2024-01-17 17:06:22 +13:00
Rob Moore
8d73ab9955
feat(sqllab): TRINO_EXPAND_ROWS: expand columns from ROWs ( #25809 )
2023-11-20 10:59:10 -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
Ville Brofeldt
0668d12e3b
chore(trino): remove unnecessary index checks ( #25211 )
2023-09-08 18:15:45 -07:00
Sebastian Liebscher
e585db85b6
chore: use contextlib.surpress instead of passing on error ( #24896 )
...
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
2023-08-29 10:09:01 -06:00
EugeneTorap
fc89718d48
chore: Update pylint to 2.17.4 ( #24700 )
...
Co-authored-by: John Bodley <john.bodley@gmail.com >
2023-07-24 17:13:49 -07:00
Hugh A. Miles II
93e1db4bd9
fix: save columns reference from sqllab save datasets flow ( #24248 )
2023-06-20 13:54:19 -04:00
Michael S. Molina
e5b7f7c9b5
fix: Time shifts with different granularity for ECharts ( #24176 )
2023-06-08 16:03:37 -03:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Rob Moore
6159ced86b
fix: handle temporal columns in presto partitions ( #24054 )
2023-05-19 23:29:42 +03:00
John Bodley
d583ca9ef5
chore: Embrace the walrus operator ( #24127 )
2023-05-19 00:37:13 -07:00
John Bodley
4ef9d25d58
chore: Refactor [Presto|Trino]EngineSpec._partition_query ( #23944 )
2023-05-17 09:11:55 -07:00
Sebastian Liebscher
c963416c09
chore: remove deprecated distutils ( #24001 )
2023-05-11 19:00:04 +03:00
John Bodley
100ccb759c
chore(presto): Expose schema and indexes to _partition_query method ( #23674 )
...
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2023-04-15 06:24:54 +12: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
2c6f581fa6
feat(postgresql): dynamic schema ( #23401 )
2023-03-17 17:53:42 -07:00
Beto Dealmeida
42e8d1b498
chore: improve schema security ( #23385 )
2023-03-17 08:05:50 -07:00
Beto Dealmeida
1b95da7487
fix: table schema permissions ( #23356 )
2023-03-14 15:18:18 -07:00
Hugh A. Miles II
b820eb8235
chore: Update pre-commit packages ( #23173 )
2023-03-13 17:05:13 -06: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
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
Ville Brofeldt
b6d39d194c
feat(trino): support early cancellation of queries ( #22498 )
2022-12-24 06:31:46 +02:00
John Bodley
71982ee174
chore: Re-add inheritance of Presto macros for Trino et al. ( #22435 )
2022-12-20 08:27:20 +13:00
John Bodley
7e54b88a51
chore: Change get_table_names/get_view_names return type ( #22085 )
2022-11-18 12:41:21 -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
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
Đặ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
Jesse Yang
77db0651d8
feat(sql lab): display presto and trino tracking url ( #20799 )
2022-07-26 20:20:08 -07: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
Simon Thelin
8b7262fa90
fix(20428): Address-Presto/Trino-Poll-Issue-Refactor ( #20434 )
...
* fix(20428)-Address-Presto/Trino-Poll-Issue-Refacto
r
Update linter
* Update to only use BaseEngineSpec handle_cursor
* Fix CI
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
2022-06-19 16:28:59 -07:00
mohittt8
41bbf62e58
fix(presto): use correct timespec for presto ( #20333 )
2022-06-16 16:43:17 -07:00