Commit Graph

346 Commits

Author SHA1 Message Date
Zamar
001100ddf0 feat(db_engine_specs): big query cost estimation (#21325)
Co-authored-by: zamar roura <zamar.roura@cabify.es>
Co-authored-by: Zamar Roura <zamarfazal@gmail.com>
2023-01-09 08:56:19 +02:00
Hugh A. Miles II
ebaad10d6c feat(ssh-tunnelling): Setup SSH Tunneling Commands for Database Connections (#21912)
Co-authored-by: Antonio Rivero Martinez <38889534+Antonio-RiveroMartnez@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-01-03 17:22:42 -05:00
Ville Brofeldt
a7a4561550 fix(explore): support saving undefined time grain (#22565) 2023-01-03 08:53:42 +00: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
Beto Dealmeida
bdeedaaf80 chore: set Snowflake user agent (#22432) 2022-12-15 17:08:34 -08:00
John Bodley
4f9c2c8165 fix(hive): Fix regression from #21943 (#22431) 2022-12-16 09:28:50 +13:00
Michiel De Smet
90d79c78d2 fix(trino): Fix Trino timestamp conversion (#21737) 2022-12-14 10:49:14 -07:00
Antonio Rivero Martinez
60a617eaba fix(bigquery): Properly display errors for BigQuery DBs (#22349) 2022-12-07 13:34:30 -05: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
Bowen
e80e10ec06 feat: add risingwave.py in db engine specs (#22123) 2022-11-30 21:13:58 +02: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
Peng Ren
b32de3dd9e feat: Add a new database driver for Amazon DynamoDB (#22077) 2022-11-14 20:57:04 -08:00
Antonio Rivero Martinez
95b4c7b7fe chore(bigquery): Add extra logging for BigQuery exceptions so we can have better insight on exceptions (#22024) 2022-11-09 22:56:08 -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
Beto Dealmeida
4496748cd9 chore: update Druid (#22067) 2022-11-08 15:03:58 -08:00
Yongjie Zhao
a9b229dd1d feat: support mulitple temporal filters in AdhocFilter and move the Time Section away (#21767) 2022-11-02 08:21:17 +08:00
Ville Brofeldt
dc7399540b chore: bubble up more db error messages (#21982) 2022-11-01 07:54:27 +02: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
Yongjie Zhao
c6c9215a2b fix: time grain key from P0.25Y to P3M (#21919) 2022-10-25 14:41:30 +08:00
Elizabeth Thompson
f58227a912 feat: add denylist for db engines (#21486) 2022-10-08 19:45:21 -07:00
Hugh A. Miles II
882bfb67ae fix: gsheets editing with dynamic forms (#21710) 2022-10-06 19:57:12 -07:00
Elizabeth Thompson
e98943e580 refactor: pass all properties to validate_parameters (#21487) 2022-10-03 17:48:54 -07:00
Elizabeth Thompson
ef78ec6b30 fix: catch error when masking encrypted extra is none (#21570) 2022-10-02 19:49:01 -07:00
Antonio Rivero Martinez
b36bd3f083 fix(databases): GSheets and Clickhouse DBs are not allowed to upload files (#21065) 2022-09-26 10:08:11 -07:00
Yongjie Zhao
737d4dcf0c refactor: refine timestamp expr function (#21510) 2022-09-20 18:51:01 +08:00
forestlzj
fdb4702332 fix: can't show duckdb table names in the "SEE TABLE SCHEMA" dropdown list (#21495) 2022-09-19 11:28:49 +08:00
John Bodley
eac6fdcd29 chore(sqllab): Cleanup /tables/... endpoint (#21284) 2022-09-13 08:22:12 -07:00
LF
9fdd75b923 feat: add snowflake keypair authentication (#21322) 2022-09-09 10:49:04 +02: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
Hugh A. Miles II
c61a507e14 fix: add back custom sql filtering with Query as source (#21190) 2022-08-26 19:12:21 -07:00
Yongjie Zhao
1afcdfb9fa fix: datetime value should be seconds in sqlite (#21113) 2022-08-18 11:42:58 +08:00
Ville Brofeldt
5113b01031 feat(trino): add query cancellation (#21035) 2022-08-12 07:48:29 +03:00
Beto Dealmeida
bb3871ddaf feat: per-db add metrics (#20990)
* feat: per-db add metrics

* Add unit tests
2022-08-08 12:07:16 -07:00
Beto Dealmeida
7e501cd816 fix: BigQuery get_parameters_from_uri (#20966) 2022-08-03 17:27:40 -07:00
Jesse Yang
77db0651d8 feat(sql lab): display presto and trino tracking url (#20799) 2022-07-26 20:20:08 -07:00
Beto Dealmeida
672266ca58 fix: add complex type to pydruid (#20834)
* fix: add complex type to pydruid

* Kick jobs
2022-07-25 14:49:44 -07:00
Beto Dealmeida
2c5201fa4b fix: Databricks views showing up as tables (#20674) 2022-07-20 09:31:42 -07:00
Beto Dealmeida
2a4c7cfb2a chore: add user agent to Databricks requests (#20660) 2022-07-20 08:17:52 -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
Hugh A. Miles II
e5e8867394 feat: Visualize SqlLab.Query model data in Explore 📈 (#20281) 2022-07-15 19:34:02 -04:00
Beto Dealmeida
c70d102b73 fix: logger message (#20714) 2022-07-15 07:51:59 -07:00
yourssvk
90d486a643 fix: SQL Lab cancel query in Redshift database connection does not wo… (#16326)
* fix: SQL Lab cancel query in Redshift database connection does not work #16325


Co-authored-by: Venkata Krishnan Somasundaram <venkata_cred@Venkatas-MacBook-Pro.local>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-06-29 11:12:59 -07:00
Michael S. Molina
cb3cd41dcd fix: Removes psycopg2 as a required dependency (#20543)
* fix: Removes psycopg2 as a required dependency

* Disables lint warning
2022-06-29 09:22:13 -03:00