Commit Graph

5584 Commits

Author SHA1 Message Date
Daniel Vaz Gaspar
cb39fcd67d fix: add mariadb engine spec same as MySQL (#27919)
(cherry picked from commit 559605e393)
2024-04-08 10:40:02 -03:00
John Bodley
899cd0eda8 chore(sqllab): Do not strip comments when executing SQL statements (#27725)
(cherry picked from commit 5ed48760fb)
2024-04-08 10:40:02 -03:00
John Bodley
1b7f599107 chore: Default to engine specification regarding using wildcard (#27843)
(cherry picked from commit 30bc8f06dc)
2024-04-08 10:40:02 -03:00
John Bodley
40fdbd1d05 chore(sql_parse): Provide more meaningful SQLGlot errors (#27858)
(cherry picked from commit c38529741e)
2024-04-08 10:40:02 -03:00
John Bodley
a39971abcd chore(sql_parse): Strip leading/trailing whitespace in Jinja macro extraction (#27842)
(cherry picked from commit 5ab95aaf7d)
2024-04-08 10:40:02 -03:00
Maxime Beauchemin
54942e2eaa fix: row limits & row count labels are confusing (#27700)
(cherry picked from commit 12fe2929a4)
2024-04-08 10:40:01 -03:00
Elizabeth Thompson
bb5c0b4086 fix: reduce alert error to warning (#27744)
(cherry picked from commit 70da454bbc)
2024-03-28 09:27:44 -03:00
John Bodley
5c567895cc fix: Provide more inclusive error handling for saved queries (#27644)
(cherry picked from commit 3ae74d1f2d)
2024-03-26 16:37:40 -03:00
John Bodley
51ad63426c fix: Leverage actual database for rendering Jinjarized SQL (#27646) 2024-03-26 16:37:22 -03:00
John Bodley
7c14968e6d fix(sql_parse): Ensure table extraction handles Jinja templating (#27470) 2024-03-22 09:29:07 -03:00
Kamil Gabryjelski
4ff331a66c fix: Persist query params appended to permalink (#27601)
(cherry picked from commit 5083ca0e81)
2024-03-22 09:28:27 -03:00
Sam Firke
fe95adac98 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:28:27 -03:00
Pat Nadolny
90afb34df5 fix: Volatile datasource ordering in dashboard export (#19595)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
(cherry picked from commit bfe55b9ded)
2024-03-22 09:28:27 -03:00
Beto Dealmeida
336f6bd021 fix: sqlglot SQL Server (#27577)
(cherry picked from commit 72a41c1642)
2024-03-22 09:28:26 -03:00
hlcianfagna
652e6cfa3f fix(db_engine_specs): Update convert_dttm to work correctly with CrateDB (#27567)
(cherry picked from commit fcceaf081c)
2024-03-21 16:19:15 -03:00
Beto Dealmeida
4b750c0caf fix: guest queries (#27566)
(cherry picked from commit 36290ce72f)
2024-03-21 16:19:14 -03:00
JUST.in DO IT
f52647ff48 perf(sqllab): reduce bootstrap data delay by queries (#27488)
(cherry picked from commit f4bdcb5743)
2024-03-19 09:57:28 -03:00
Beto Dealmeida
35562198f8 fix: pass valid SQL to SM (#27464)
(cherry picked from commit 376bfd05bd)
2024-03-19 09:57:28 -03:00
Beto Dealmeida
94f677850c feat: improve _extract_tables_from_sql (#26748) 2024-03-19 09:57:09 -03:00
Ville Brofeldt
1016fd92f6 fix(postprocessing): resample with holes (#27487)
(cherry picked from commit 7f19d296b1)
2024-03-19 09:28:13 -03:00
Beto Dealmeida
017e0fc733 fix: check if guest user modified query (#27484)
(cherry picked from commit 735b895dd5)
2024-03-14 09:32:56 -03:00
Geido
131c254fe7 fix: SSH Tunnel configuration settings (#27186)
(cherry picked from commit 89e89de341)
2024-03-14 09:32:56 -03:00
JUST.in DO IT
5b6e5e475e fix: missing shared color in mixed timeseries (#27403)
(cherry picked from commit 9ced2552db)
2024-03-07 15:51:07 -03:00
JUST.in DO IT
db6df71fad fix(sqllab): Close already removed tab (#27391)
(cherry picked from commit 5107cc0fd9)
2024-03-07 15:17:06 -03:00
Vitor Avila
4f3a7f3931 fix(API): Updating assets via the API should preserve ownership configuration (#27364)
(cherry picked from commit 66bf70172f)
2024-03-07 15:17:06 -03:00
Daniel Vaz Gaspar
94aeef5f82 fix: improve explore REST api validations (#27395)
(cherry picked from commit a3d2e0bf44)
2024-03-07 15:17:06 -03:00
Michael S. Molina
e9ebc386f2 fix: Missing SQL Lab permission (#27361)
(cherry picked from commit 8a46694ce9)
2024-03-04 11:16:40 -05:00
Michael S. Molina
74842fe6e8 fix: Incorrect data type on import page (#27307)
(cherry picked from commit fa04eec2d5)
2024-03-04 11:16:40 -05:00
James O'Claire
2e80b688bb fix(import-datasources): Use "admin" user as default for importing datasources (#27154)
(cherry picked from commit 6447cd0e92)
2024-03-04 11:13:39 -05:00
John Bodley
7de3e0fcda fix(sqlglot): Address regressions introduced in #26476 (#27217)
(cherry picked from commit 2c564817f1)
2024-03-04 11:13:38 -05:00
Beto Dealmeida
c29873cc81 fix: no limit in SELECT * for TOP dbs (#27215)
(cherry picked from commit c54fbe6e96)
2024-02-23 10:49:07 -05:00
Bill Belanger
d47fd44b49 fix: Translations related to the date range filter (#26074)
(cherry picked from commit cc2f6f1ed9)
2024-02-23 10:49:06 -05:00
Daniel Vaz Gaspar
8dc6cbe206 fix(ci): mypy pre-commit issues (#27161) 2024-02-19 16:29:20 +00:00
Ross Mabbett
601e62a2ee feat(Alerts and Reports): Modal redesign (#26202)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: fisjac <jfisher9882@gmail.com>
Co-authored-by: Corbin <corbindbullard@gmail.com>
Co-authored-by: Lily Kuang <lily@preset.io>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 17:28:10 +02:00
Michael S. Molina
acb2d1d6b4 fix: Plain error message when visiting a dashboard via permalink without permissions (#27132) 2024-02-15 16:26:33 -05:00
Geido
7c7deb960d fix: ID param for DELETE ssh_tunnel endpoint (#27130)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2024-02-15 22:09:51 +02:00
Michael S. Molina
3d645fd8e9 refactor: Updates some database columns to MediumText (#27119) 2024-02-15 11:22:57 -05:00
Daniel Vaz Gaspar
c96e38c07c fix: removes old deprecated sqllab endpoints (#27117) 2024-02-15 15:58:48 +00:00
Anirudh Hegde
3224ac1818 chore(internet_port): added new ports and removed unnecessary string class (#27078) 2024-02-14 19:30:14 -07:00
John Bodley
847ed3f5b0 refactor: Ensure Flask framework leverages the Flask-SQLAlchemy session (Phase II) (#26909) 2024-02-14 06:20:15 +13:00
Evan Rusackas
91ac575eab chore(translations): updating pot -> po -> json files (babel 2.9.1) (#26773) 2024-02-13 08:47:15 -07:00
Beto Dealmeida
0950bb7b7d fix(drill): no rows returned (#27073) 2024-02-12 12:11:06 -05:00
Geido
595c6ce3e6 chore: Add granular permissions for actions in Dashboard (#27029) 2024-02-09 16:25:32 +02:00
Beto Dealmeida
cf84f36a6c chore: prevent prophet from logging non-errors as errors (#27053) 2024-02-08 17:33:07 -05:00
Beto Dealmeida
686ce33ea5 fix: safer error message in alerts (#27019) 2024-02-07 14:58:51 -05:00
Vitor Avila
01e2f8ace3 fix(security manager): Users should not have access to all draft dashboards (#27015) 2024-02-07 09:20:41 -07:00
Geido
d8e26cfff1 chore: Remove database ID dependency for SSH Tunnel creation (#26989) 2024-02-07 18:03:19 +02:00
Daniel Vaz Gaspar
5b34395689 fix: chart import validation (#26993) 2024-02-06 12:14:02 +00:00
Beto Dealmeida
d8a9847503 fix: column values with NaN (#26946) 2024-02-02 12:56:02 -05:00
Usiel Riedl
56069b05f9 fix(cache): remove unused webserver config & handle trailing slashes (#22849) 2024-02-01 10:34:07 -05:00