Commit Graph

87 Commits

Author SHA1 Message Date
Luis Sánchez
e7c060466d fix(SqlLab): enhance SQL formatting with Jinja template support. (#36277) 2025-12-08 15:32:05 -08:00
amaannawab923
35f156a1e1 feat(streaming): Streaming CSV uploads for over 100k records for constant memory usage (#35478) 2025-11-20 19:16:59 +02:00
JUST.in DO IT
0defcb604b chore(sqllab): remove unused json param (#35065) 2025-09-24 10:26:55 -07:00
Michael S. Molina
e1234b2264 fix: User-provided Jinja template parameters causing SQL parsing errors (#34802) 2025-08-22 14:39:14 -03:00
Dog foot ruler
89f09ea57c fix(open-api): Add missing FormatQueryPayloadSchema and DashboardScreenshotPostSchema to open-api component schemas (#33202) 2025-08-12 13:33:23 -07: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
Beto Dealmeida
cf315388f2 feat(sqllab): use sqlglot instead of sqlparse (#33542) 2025-05-30 17:08:19 -04:00
Beto Dealmeida
5af4e61aff feat: improve GSheets OAuth2 (#32048) 2025-03-03 12:55:54 -05:00
Evan Rusackas
90651dfe3e fix(dev/ci): pre-commit fixes galore (#32352) 2025-02-24 11:26:45 -07:00
Levis Mbote
f9f8c5d07a fix(sqllab): correct URL format for SQL Lab permalinks (#32154) 2025-02-07 18:53:29 +02:00
Levis Mbote
65c4d39c31 refactor(Shared_url_query): Fix shared query URL access for SQL Lab users. (#31421) 2025-01-24 19:34:55 +01:00
Beto Dealmeida
14f798afec fix: proper URL building (#31962) 2025-01-23 15:59:45 -05:00
JUST.in DO IT
2874096e27 refactor(sqllab): migrate share queries via kv by permalink (#29163) 2025-01-17 16:16:02 -08: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
JUST.in DO IT
48864ce8c7 fix(sqllab): Remove update_saved_query_exec_info to reduce lag (#31294) 2024-12-06 10:09:02 -08:00
Beto Dealmeida
09802acf0d refactor: remove more sqlparse (#31032) 2024-11-26 17:01:07 -05:00
Michael S. Molina
ef9e5e523d fix: KeyError 'sql' when opening a Trino virtual dataset (#30339) 2024-09-19 17:41:08 -03:00
Beto Dealmeida
bdf29cb7c2 chore: organize SQL parsing files (#30258) 2024-09-13 16:24:19 -04:00
Beto Dealmeida
39209c2b40 fix: handle empty catalog when DB supports them (#29840) 2024-08-13 10:08:43 -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
Maxime Beauchemin
5e060cef7c feat: add new SQLLAB_FORCE_RUN_ASYNC feature flag (#29231)
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2024-06-20 14:28:46 -07:00
John Bodley
b50e3af07c fix(sqllab): Do not strip comments when executing SQL statements (#29248) 2024-06-14 13:38:36 -03:00
Maxime Beauchemin
4bb2e2f8af chore: enable ruff lint rule TRY201 and B904 to improve raise stack traces (#29166) 2024-06-12 13:04:42 -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
Eyal Ezer
56f0fc4ec2 refactor: Migration of json utilities from core (#28522)
Co-authored-by: Eyal Ezer <eyal.ezer@ge.com>
2024-05-20 10:27:22 -07:00
Michael S. Molina
c9aa4a1f84 fix: Revert "fix: don't strip SQL comments in Explore (#28363)" (#28567) 2024-05-17 15:01:23 -03:00
Eyal Ezer
5f714b707c fix: utf-16 json encoder support (#28486)
Co-authored-by: Eyal Ezer <eyal.ezer@ge.com>
2024-05-15 08:53:19 -07:00
Beto Dealmeida
498c608667 fix: pass catalog when estimating query cost (#28410) 2024-05-09 21:56:11 -04:00
Beto Dealmeida
ce668d46cc feat(SIP-95): catalogs in SQL Lab and datasets (#28376) 2024-05-08 17:19:36 -04:00
Maxime Beauchemin
c618767c6b fix: don't strip SQL comments in Explore (#28363) 2024-05-07 14:49:46 -07:00
Maxime Beauchemin
c10cee3a39 fix: use pessimistic json encoder in SQL Lab (#28266) 2024-05-06 12:23:50 -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
b25dd0c055 fix(sql_parse): Ensure table extraction handles Jinja templating (#27470) 2024-03-22 13:39:28 +13:00
Michael S. Molina
6e528426dd feat: Adds option to disable drill to detail per database (#27536) 2024-03-21 15:51:09 -03: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
Daniel Vaz Gaspar
8dc6cbe206 fix(ci): mypy pre-commit issues (#27161) 2024-02-19 16:29:20 +00:00
John Bodley
847ed3f5b0 refactor: Ensure Flask framework leverages the Flask-SQLAlchemy session (Phase II) (#26909) 2024-02-14 06:20:15 +13:00
Beto Dealmeida
c0b57bd1c3 feat(sqlparse): improve table parsing (#26476) 2024-01-22 11:16:50 -05: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
b370c66308 fix(sqllab): template validation error within comments (#25626) 2023-10-13 11:07:54 -06:00
JUST.in DO IT
5ab1e7eae4 feat(sqllab): SPA migration (#25151) 2023-10-04 15:21:41 -04:00
JUST.in DO IT
7aaae06c9d fix(sqllab): invalid persisted tab state (#25308) 2023-09-19 15:58:34 -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
JUST.in DO IT
10abb68288 feat(sqllab): Add /sqllab endpoint to the v1 api (#24983) 2023-08-16 16:09:10 -07:00
JUST.in DO IT
a44c99899a chore(sqllab): Relocate get bootstrap data logic (#24936) 2023-08-11 13:23:07 -07:00
John Bodley
ed0d288ccd chore(dao): Replace save/overwrite with create/update respectively (#24467) 2023-08-11 12:55:39 -07:00
Sebastian Liebscher
14a27b1ba3 chore(api): clean up API spec (#24838) 2023-07-31 20:03:58 +03:00
EugeneTorap
5f103072b0 fix: Python3.11 (str, Enum) issue (#24803) 2023-07-31 09:04:09 -07:00