Commit Graph

329 Commits

Author SHA1 Message Date
John Bodley
d8cffb0a3f chore(sql_parse): Provide more meaningful SQLGlot errors (#27858)
(cherry picked from commit c38529741e)
2024-04-03 11:24:13 -03:00
John Bodley
58a53b4457 chore(sql_parse): Strip leading/trailing whitespace in Jinja macro extraction (#27842)
(cherry picked from commit 5ab95aaf7d)
2024-04-03 10:27:12 -03:00
John Bodley
19b05d3422 fix: Provide more inclusive error handling for saved queries (#27644)
(cherry picked from commit 3ae74d1f2d)
2024-03-26 16:39:25 -03:00
John Bodley
119b2b0c93 fix: Leverage actual database for rendering Jinjarized SQL (#27646) 2024-03-26 16:39:05 -03:00
John Bodley
b4fde18508 fix(sql_parse): Ensure table extraction handles Jinja templating (#27470) 2024-03-22 09:23:16 -03:00
Sam Firke
b749207713 fix(utils): fix off-by-one error in how rolling window's min_periods truncates dataframe (#27388)
(cherry picked from commit d4d8625ab8)
2024-03-22 09:08:02 -03:00
hlcianfagna
fc611a8873 fix(db_engine_specs): Update convert_dttm to work correctly with CrateDB (#27567)
(cherry picked from commit fcceaf081c)
2024-03-21 16:11:58 -03:00
Beto Dealmeida
9887b4ed33 fix: guest queries (#27566)
(cherry picked from commit 36290ce72f)
2024-03-21 16:11:57 -03:00
Beto Dealmeida
efa94c4ab0 fix: pass valid SQL to SM (#27464)
(cherry picked from commit 376bfd05bd)
2024-03-19 09:02:07 -03:00
Beto Dealmeida
8274d869b1 feat: improve _extract_tables_from_sql (#26748) 2024-03-19 08:46:55 -03:00
Ville Brofeldt
f1f20e436c fix(postprocessing): resample with holes (#27487)
(cherry picked from commit 7f19d296b1)
2024-03-19 08:32:21 -03:00
Beto Dealmeida
51f904c42c fix: check if guest user modified query (#27484)
(cherry picked from commit 735b895dd5)
2024-03-14 09:22:40 -03:00
Vitor Avila
e84b2a3ba1 fix(API): Updating assets via the API should preserve ownership configuration (#27364)
(cherry picked from commit 66bf70172f)
2024-03-07 15:06:40 -03:00
John Bodley
e687525524 fix(sqlglot): Address regressions introduced in #26476 (#27217)
(cherry picked from commit 2c564817f1)
2024-02-27 15:30:12 -05:00
Beto Dealmeida
ee7eec60ea fix: no limit in SELECT * for TOP dbs (#27215)
(cherry picked from commit c54fbe6e96)
2024-02-23 10:03:26 -05:00
Daniel Vaz Gaspar
10c9a7f0e2 fix: chart import validation (#26993) 2024-02-13 10:39:22 -05:00
Zef Lin
dac73fe0cd feat(embedded+async queries): support async queries to work with embedded guest user (#26332)
(cherry picked from commit efdeb9df05)
2024-02-13 10:22:45 -05:00
Daniel Vaz Gaspar
322812b1c8 fix: dashboard import validation (#26887)
(cherry picked from commit 36ce9e26f0)
2024-02-01 14:53:01 -05:00
Beto Dealmeida
ba9032e8d0 fix: prevent guest user from modifying metrics (#26749)
(cherry picked from commit fade4806ce)
2024-02-01 14:53:00 -05:00
Beto Dealmeida
1d9cfdabd1 feat(sqlparse): improve table parsing (#26476)
(cherry picked from commit c0b57bd1c3)
2024-02-01 14:53:00 -05:00
Maxime Beauchemin
72ad551d1e fix(import): only import FORMULA annotations (#26652) 2024-01-25 09:48:51 -05:00
Vitor Avila
1273f72f94 fix(db2): Improving support for ibm db2 connections (#26744)
(cherry picked from commit 5eb4e82d27)
2024-01-25 09:47:35 -05:00
Igor Khrol
1b41307b9a fix: Avoid 500 if end users write bad SQL (#26638)
(cherry picked from commit 80a6e25a98)
2024-01-18 13:52:01 -03:00
Beto Dealmeida
36846e9c2b fix(database): allow filtering by UUID (#26469)
(cherry picked from commit e36c014290)
2024-01-18 13:52:01 -03:00
Igor Khrol
66dd7f5dc5 fix: Trino - handle table not found in SQLLab (#26355)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
(cherry picked from commit 3daa038f5f)
2024-01-18 13:52:01 -03:00
Ville Brofeldt
c8c8136ac3 fix(post-processing): handle missing values in cumulative operator (#26429)
(cherry picked from commit ff025b78f3)
2024-01-09 09:26:01 -03:00
gaurav7261
c19447ee88 fix(redshift): convert_dttm method for redshift dataset and tests (#26283)
Co-authored-by: GauravM <gaurav@ip-192-168-0-100.ap-south-1.compute.internal>
(cherry picked from commit 60abf7e2af)
2023-12-27 09:24:51 -03:00
Ross Mabbett
880086c750 fix(Alerts/Reports): allow use of ";" separator in slack recipient entry (#25894)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
(cherry picked from commit b7a9c220e1)
2023-12-04 18:05:21 -03:00
Vitor Avila
77332bfb38 fix(database-import): Support importing a DB connection with a version set (#26116)
(cherry picked from commit c033ca959d)
2023-12-04 18:05:21 -03:00
John Bodley
07bcfa9b5f chore(command): Organize Commands according to SIP-92 (#25850) 2023-11-22 16:55:54 -03:00
Jiwen liu
97121465dd feat: Add Apache Doris support (#24714)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-11-21 12:42:10 -07:00
John Bodley
07551dc3d4 chore(connector): Cleanup base models and views according to SIP-92 (#24773) 2023-11-21 10:11:50 -08:00
Michael S. Molina
68e5e1afea feat: Add Bubble chart migration logic (#26033)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-11-21 15:05:41 -03:00
John Bodley
dd58b31cc4 chore(sqlalchemy): Remove erroneous SQLAlchemy ORM session.merge operations (#24776) 2023-11-20 17:25:41 -08:00
Rob Moore
8d73ab9955 feat(sqllab): TRINO_EXPAND_ROWS: expand columns from ROWs (#25809) 2023-11-20 10:59:10 -07:00
Michael S. Molina
97d89d7340 feat: Adds Area chart migration logic (#25952) 2023-11-16 14:28:09 -03:00
John Bodley
10205d0b50 chore: Singularize tag models (#25819) 2023-11-09 08:22:08 -08:00
Beto Dealmeida
2bd611916d feat: safer insert RLS (#20323) 2023-11-08 22:52:25 -05:00
Elizabeth Thompson
1d0b86ae94 chore: add more migration tests (#25262) 2023-11-07 17:06:23 -08:00
Beto Dealmeida
80caba3fd1 feat: method for dynamic allows_alias_in_select (#25882) 2023-11-07 14:28:28 -05:00
mapledan
ae619b169c fix: the temporal x-axis results in a none time_range. (#25429)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-11-03 09:57:47 -07:00
Jeremy
5690946b1a feat: support databend for superset (#23308) 2023-11-02 12:00:11 -07:00
John Bodley
ae703b48fc fix: Revert "fix: Apply normalization to all dttm columns (#25147)" (#25801) 2023-10-31 10:21:47 -03:00
Beto Dealmeida
5659c87ed2 fix: DB-specific quoting in Jinja macro (#25779) 2023-10-30 09:50:44 -04:00
Beto Dealmeida
c7f8d11a7e fix: dataset update uniqueness (#25756) 2023-10-25 16:49:32 -04:00
Rob Moore
4e94fc4cff fix(sqllab): reinstate "Force trino client async execution" (#25680) 2023-10-19 16:38:13 +03:00
Elizabeth Thompson
26498fc099 chore: add latest-official docker tag (#25322) 2023-10-18 16:59:30 -07:00
Daniel Vaz Gaspar
f473d13d0d fix: improve upload ZIP file validation (#25658) 2023-10-17 18:28:09 +01:00
Ville Brofeldt
e56e0de458 fix: revert fix(sqllab): Force trino client async execution (#24859) (#25541) 2023-10-13 11:58:20 +00:00
Daniel Vaz Gaspar
549abb542b fix: REST API CSRF exempt list (#25590) 2023-10-10 12:53:37 +01:00