Evan Rusackas
cdc1397033
fix(sqllab): keep saved-query list working when Jinja dataset(id) references a deleted dataset
...
When a saved query contains a Jinja macro such as `{{ dataset(id) }}` and the
referenced dataset is later deleted, `process_jinja_sql` raises
`DatasetNotFoundError` while computing the `sql_tables` field. That exception
was not caught by `SqlTablesMixin.sql_tables`, so the entire saved-query list
endpoint failed with "Dataset ID not found", hiding every saved query from
the user and preventing them from deleting the broken one (#32771 ).
Treat any `SupersetException` raised during table extraction the same way as
existing parse/security/template errors: log a warning and return an empty
list so the rest of the row can still be serialized.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-27 11:49:15 -07:00
Luiz Otavio
970b5bcf75
fix(cross-filter): correctly cast adhoc column types when cross filtering ( #39577 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-24 08:26:46 -03:00
Geidō
51ea2c297d
fix(dataset): calculated columns in virtual datasets fail when used as dynamic aggregation filter dimensions ( #39004 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 13:44:53 +03:00
Beto Dealmeida
8983edea66
fix: type probing ( #38889 )
2026-03-26 13:06:49 -04:00
Luiz Otavio
972e15e601
fix(sql): remove WHERE 1 = 1 when temporal filter has "No filter" selected ( #38704 )
2026-03-19 08:29:53 -03:00
Michael S. Molina
fd1c423826
fix(chart): prevent chart list from failing when a datasource lacks explore_url ( #38721 )
2026-03-18 10:23:57 -03:00
Beto Dealmeida
a854fa60a2
feat: apply RLS conservatively ( #38683 )
2026-03-17 10:20:09 -04:00
Yuriy Krasilnikov
09e9c6a522
fix(embedded): prevent double RLS application in virtual datasets ( #37395 )
2026-03-12 14:12:59 +01:00
Enzo Martellucci
c7a1f57487
fix(sqla): parenthesize extras where/having clauses in query generation ( #38183 )
...
Co-authored-by: Diego Pucci <diegopucci.me@gmail.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-09 10:05:55 +01:00
wuqicyber
6f34ba7d4a
fix(table-chart): support orderby adhoc columns with server-side pagination ( #37521 )
2026-02-21 00:29:34 +03:00
Richard Fogaca Nienkotter
5278deaf63
fix(metrics): normalize legacy currency strings ( #37455 )
2026-02-19 21:25:44 -03:00
Vitor Avila
cc972cad5a
fix: DB OAuth2 fixes ( #37350 )
2026-01-22 01:51:48 -03:00
Vitor Avila
d4723ef116
feat: Handle OAuth2 dance with TableSelector ( #37315 )
2026-01-21 19:49:18 -03:00
Michael S. Molina
28e3ba749e
feat: SQL execution API for Superset ( #36529 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-16 14:39:29 -03:00
Beto Dealmeida
c458f99dd4
chore: cleanup ssh tunnel ( #34388 )
2025-12-03 14:26:35 -05:00
Mehmet Salih Yavuz
a754258fad
fix(timeshift): Add a more reliable strategy for correct temporal col ( #36309 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-01 17:24:05 +03:00
Beto Dealmeida
e303537e0c
fix: adhoc column quoting ( #36215 )
2025-11-21 16:32:39 -05:00
Beto Dealmeida
3b226038ba
fix(datasets): prevent double time filter application in virtual datasets ( #35890 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-17 16:47:10 -05:00
Richard Fogaca Nienkotter
4a04d46118
fix(explore): re-apply filters when 'Group remaining as Others' is enabled ( #35937 )
2025-11-13 22:06:33 +01:00
Mehmet Salih Yavuz
306f4c14cf
fix(sql): quote column names with spaces to prevent SQLGlot parsing errors ( #35553 )
2025-11-13 17:47:16 +03:00
Beto Dealmeida
139b5ae20c
fix(sqlglot): adhoc expressions ( #35482 )
2025-10-03 12:10:10 -04:00
Antonio Rivero
449a89c214
fix(slice): Fix using isdigit when id passed as int ( #35452 )
2025-10-02 16:04:54 +02:00
Beto Dealmeida
d51b35f61b
fix: adhoc orderby in explore ( #35342 )
2025-09-30 16:34:44 -04:00
Michael S. Molina
e1234b2264
fix: User-provided Jinja template parameters causing SQL parsing errors ( #34802 )
2025-08-22 14:39:14 -03:00
Maxime Beauchemin
4683a0827d
feat(validation): Add SQL expression validation in popovers ( #34642 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-08-20 15:10:38 -07:00
Joe Li
9de1706baa
fix: Fix TypeError in Slice.get() method when using filter_by() with BinaryExpression ( #34769 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-20 11:22:54 -07:00
Maxime Beauchemin
246181a546
feat(docker): Add pytest support to docker-compose-light.yml ( #34373 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-08-06 00:17:50 -04: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
bf967d6ba4
fix(charts): Fix unquoted 'Others' literal in series limit GROUP BY clause ( #34390 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-29 17:36:10 -07:00
Maxime Beauchemin
1be2287b3a
feat(timeseries): enhance 'Series Limit' to support grouping the long tail ( #34308 )
2025-07-25 16:26:32 -07:00
Michael S. Molina
1e5a4e9bdc
fix: Saved queries list break if one query can't be parsed ( #34289 )
2025-07-24 08:30:04 -03:00
Vitor Avila
a56d7252c2
fix: Consider default catalog when getting tables and view lists ( #33916 )
2025-06-26 13:55:10 -03:00
Beto Dealmeida
a26e1d822a
chore: remove sqlparse ( #33564 )
2025-06-04 19:31:41 -04:00
Pat Buxton
2d26af25c1
feat: Python 3.12 support ( #33434 )
2025-06-02 10:00:37 -07:00
Beto Dealmeida
8de58b9848
feat: use sqlglot to set limit ( #33473 )
2025-05-27 15:20:02 -04:00
Đỗ Trọng Hải
ff0529c932
fix(model/helper): represent RLS filter clause in proper textual SQL string ( #32406 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2025-03-21 14:36:03 -06:00
Beto Dealmeida
c7c3b1b0e9
fix: move oauth2 capture to get_sqla_engine ( #32137 )
2025-02-04 18:24:05 -05:00
Vitor Avila
5fc11fb706
chore: Add more database-related tests (follow up to #31948 ) ( #32054 )
2025-01-31 08:36:09 -03:00
Evan Rusackas
855011360a
build(eslint): disabling wildcard imports with eslint ( #31761 )
2025-01-13 17:25:47 -07:00
Michael S. Molina
399b709aaf
refactor: Removes 5.0 approved legacy charts ( #31582 )
2025-01-09 16:45:05 -03: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
68499a1199
feat: purge OAuth2 tokens when DB changes ( #31164 )
2024-11-26 15:57:01 -05:00
João Ferrão
305b6df6e3
feat(oauth2): add support for trino ( #30081 )
2024-11-04 11:54:47 -05:00
Jack
849d426e06
feat(oauth): adding necessary changes to support bigquery oauth ( #30674 )
2024-10-30 14:56:22 -05:00
Geido
f314685a8e
fix(Explore): Apply RLS at column values ( #30490 )
...
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
2024-10-04 18:12:28 +03:00
Beto Dealmeida
710406aa76
feat: allow configuring an engine context manager ( #30266 )
2024-09-23 12:36:18 -04:00
Beto Dealmeida
0415ed34ce
feat: allow create/update OAuth2 DB ( #30071 )
2024-09-03 19:22:38 -04:00
Beto Dealmeida
b66c0f8d30
fix: schemas for upload API ( #29604 )
2024-07-16 15:53:25 -04:00
Beto Dealmeida
8e15d4807f
chore: s/MockFixture/MockerFixture/g ( #29160 )
2024-06-10 12:35:07 -04:00