Claude Code
eec8dbce47
feat(sqllab): accept results key via POST body
...
The SQL Lab results endpoint previously accepted the cached results key
(and optional row limit) only via the query string on a GET request. This
adds a POST variant of `/api/v1/sqllab/results/` that reads `{ "key": ...,
"rows": ... }` from the JSON request body, sharing the exact same handler
logic and `can_get_results` permission as the GET. The frontend now sends
the key in the POST body so it no longer appears in the query string.
The existing GET endpoint is retained unchanged for backward compatibility.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-01 16:45:11 -07:00
Beto Dealmeida
edf4d03218
chore: bump rison to 2.0.0 ( #39529 )
2026-04-24 15:52:42 -04:00
JUST.in DO IT
0b51e9cd5e
fix(sqllab): format_sql to apply db dialect by database_id ( #39393 )
2026-04-16 08:27:51 -03:00
Luis Sánchez
e7c060466d
fix(SqlLab): enhance SQL formatting with Jinja template support. ( #36277 )
2025-12-08 15:32:05 -08:00
Ahmed Habeeb
43775e9373
fix(sqllab_export): manually encode CSV output to support utf-8-sig ( #34235 )
2025-07-23 18:44:56 -07:00
Beto Dealmeida
8de58b9848
feat: use sqlglot to set limit ( #33473 )
2025-05-27 15:20:02 -04: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
Maxime Beauchemin
a849c29288
chore: enable lint PT009 'use regular assert over self.assert.*' ( #30521 )
2024-10-07 13:17:27 -07:00
Josh Soref
1818054166
chore(tests): Spelling ( #25454 )
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
Co-authored-by: Evan Rusackas <evan@preset.io >
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
2024-08-20 14:47:29 -06: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
Maxime Beauchemin
2d63722150
chore: set up ruff as a new linter/formatter ( #28158 )
2024-04-24 17:19:53 -07:00
John Bodley
481a63da55
chore(tests): Remove ineffectual login ( #27149 )
2024-04-09 09:52:02 -07:00
JUST.in DO IT
f4bdcb5743
perf(sqllab): reduce bootstrap data delay by queries ( #27488 )
2024-03-18 12:52:23 -07:00
Beto Dealmeida
26d8077e97
chore: improve SQL parsing ( #26767 )
2024-03-13 18:27:01 -04:00
JUST.in DO IT
5107cc0fd9
fix(sqllab): Close already removed tab ( #27391 )
2024-03-06 08:59:56 -08:00
John Bodley
07bcfa9b5f
chore(command): Organize Commands according to SIP-92 ( #25850 )
2023-11-22 16:55:54 -03:00
JUST.in DO IT
24a2213445
feat(sqllab): Format sql ( #25344 )
2023-11-03 09:38:11 -07:00
JUST.in DO IT
7aaae06c9d
fix(sqllab): invalid persisted tab state ( #25308 )
2023-09-19 15:58:34 -07:00
JUST.in DO IT
10abb68288
feat(sqllab): Add /sqllab endpoint to the v1 api ( #24983 )
2023-08-16 16:09:10 -07:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Hugh A. Miles II
8fa77adf9a
chore: Hugh/migrate estimate query cost to v1 ( #23226 )
...
Co-authored-by: Diego Medina <diegomedina24@gmail.com >
2023-03-17 18:02:25 -06:00
Diego Medina
e5a4c78dc7
chore: Migrate /superset/csv/<client_id> to API v1 ( #22913 )
2023-02-15 10:48:24 +00:00
Diego Medina
b94052e438
chore: migrate /sql_json and /results to apiv1 ( #22809 )
2023-01-30 11:02:34 -05:00