Vitor Avila
191337e08d
fix(db oauth2): Improve OAuth2 flow ( #39499 )
2026-04-21 11:54:52 -03:00
Amin Ghadersohi
68067d7f44
fix(mcp): handle OAuth-authenticated databases in execute_sql ( #39166 )
2026-04-09 15:47:00 -04:00
Vitor Avila
fa34609952
feat: Support OAuth2 single-use refresh tokens ( #38364 )
2026-03-03 16:07:15 -03:00
Vitor Avila
228b598409
feat: Labels for encrypted fields ( #38075 )
2026-02-23 13:23:33 -03:00
Elizabeth Thompson
e9b494163b
refactor(db): use Dialect instead of Engine in select_star to avoid SSH tunnels ( #35540 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-02-02 10:26:35 -08:00
Beto Dealmeida
5d20dc57d7
feat(oauth2): add PKCE support for database OAuth2 authentication ( #37067 )
2026-01-30 23:28:10 -05:00
Vitor Avila
6043e7e7e3
fix: more DB OAuth2 fixes ( #37398 )
2026-01-30 21:11:26 -03:00
Enzo Martellucci
ea90d1f141
refactor(db-engine-specs): use standard OAuth 2.0 params in base class ( #37010 )
2026-01-09 17:44:32 +01:00
Damian Pendrak
19db0353a9
feat(db): custom database error messages ( #34674 )
2025-10-01 14:29:57 +03:00
Maxime Beauchemin
cb27d5fe8d
chore: proper current_app.config proxy usage ( #34345 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-31 19:27:42 -07:00
Maxime Beauchemin
3f8472ca7b
chore: move some rules from ruff -> pylint ( #34292 )
2025-07-24 09:40:49 -07:00
Maxime Beauchemin
2db8f809ba
fix: proper handling of boolean filters with snowflake ( #34199 )
...
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
2025-07-18 12:13:52 -07:00
Beto Dealmeida
21d8d57380
fix: select star ( #33763 )
2025-06-13 14:59:52 -04:00
Beto Dealmeida
a26e1d822a
chore: remove sqlparse ( #33564 )
2025-06-04 19:31:41 -04:00
Beto Dealmeida
0fa3feb088
chore: remove parse_sql ( #33474 )
2025-05-27 18:03:55 -04:00
Beto Dealmeida
8de58b9848
feat: use sqlglot to set limit ( #33473 )
2025-05-27 15:20:02 -04:00
Beto Dealmeida
d92af9c95c
chore: simplify user impersonation ( #32485 )
2025-03-13 12:43:05 -04:00
Beto Dealmeida
e4b3ecd372
feat: push predicates into virtual datasets ( #31486 )
2025-01-08 22:11:28 -05:00
Maxime Beauchemin
e51b95ffa8
chore: enforce more ruff rules ( #31447 )
...
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
2024-12-18 17:41:34 -08:00
Beto Dealmeida
47c1e09c75
fix: sqlparse fallback for formatting queries ( #30578 )
2024-10-11 15:45:40 -04:00
Beto Dealmeida
4b59e42d3f
chore: improve mask/unmask encrypted_extra ( #29943 )
2024-08-22 16:45:32 -04:00
Beto Dealmeida
fa095a98ed
fix: Trino get_columns ( #29566 )
2024-07-12 16:37:49 -04:00
Beto Dealmeida
8e15d4807f
chore: s/MockFixture/MockerFixture/g ( #29160 )
2024-06-10 12:35:07 -04: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
Beto Dealmeida
68a982dfe6
feat(sip-95): new endpoint for extra table metadata ( #28063 )
2024-04-18 10:42:53 -04:00
Craig Rueda
8bdf457dfa
feat(db): Adding DB_SQLA_URI_VALIDATOR ( #27847 )
2024-04-02 09:00:32 -07:00
Beto Dealmeida
26d8077e97
chore: improve SQL parsing ( #26767 )
2024-03-13 18:27:01 -04:00
Beto Dealmeida
c54fbe6e96
fix: no limit in SELECT * for TOP dbs ( #27215 )
2024-02-22 17:01:29 -05: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
Ville Brofeldt
cd6fc35f60
chore(db_engine_specs): clean up column spec logic and add tests ( #22871 )
2023-01-31 15:54:07 +02:00
Jesse Yang
7e836e9b04
test: autouse app_context in unit tests ( #20911 )
2022-08-02 15:42:50 -07:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03:00
Sujith Kumar S
b8aef10098
fix(mssql): support cte in virtual tables ( #18567 )
...
* Fix for handling regular CTE queries with MSSQL,#8074
* Moved the get_cte_query function from mssql.py to base.py for using irrespetcive of dbengine
* Fix for handling regular CTE queries with MSSQL,#8074
* Moved the get_cte_query function from mssql.py to base.py for using irrespetcive of dbengine
* Unit test added for the db engine CTE SQL parsing.
Unit test added for the db engine CTE SQL parsing. Removed additional spaces from the CTE parsing SQL generation.
* implement in sqla model
* lint + cleanup
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com >
2022-02-10 10:28:05 +02:00
Mikhail Kumachev
d2d4f8eb44
feat: Add support for Azure Data Explorer (Kusto) db engine spec ( #17898 )
...
* Add two Kusto engine specs: KQL and SQL. Some minor changes in core code to support Kusto engine specs.
* Remove redundant imports and logging.
* docs: Kusto sqlalchemy docs
* fix: Fix mypy and linting errors
* fix: Handle Black vs Pylint checks
* fix: isort problem
* refactor: Merge kustosql and kustokql in the single kusto module
* test: Add tests for Kusto db spec
* feat: Schema override does not require in KQL anymore
* Removed redundant imports.
* Added ".show" queries to readonly query determination.
* Fixed some bugs.
Added tests for convert_dttm.
* Fixed major sqlalchemy-kusto version.
* Fixed by isort.
Co-authored-by: Eugene Bikkinin <xnegxneg@gmail.com >
Co-authored-by: k.tomak <k.tomak@dodopizza.com >
Co-authored-by: Eugene Bikkinin <e.bikkinin@dodopizza.com >
2022-01-10 14:42:20 +02:00
Ville Brofeldt
b2ffa268cd
fix(sqla): make text clause escaping optional ( #17641 )
2021-12-03 12:35:26 +02:00