Commit Graph

1968 Commits

Author SHA1 Message Date
John Bodley 5ed48760fb
chore(sqllab): Do not strip comments when executing SQL statements (#27725) 2024-04-03 19:24:39 -07:00
John Bodley 30bc8f06dc
chore: Default to engine specification regarding using wildcard (#27843) 2024-04-03 09:09:37 -07:00
John Bodley c38529741e
chore(sql_parse): Provide more meaningful SQLGlot errors (#27858) 2024-04-03 07:10:52 -07:00
Beto Dealmeida 9022f5c519
feat(SIP-85): OAuth2 for databases (#27631) 2024-04-02 22:05:33 -04:00
John Bodley 5ab95aaf7d
chore(sql_parse): Strip leading/trailing whitespace in Jinja macro extraction (#27842) 2024-04-02 17:08:42 -07:00
Craig Rueda 8bdf457dfa
feat(db): Adding DB_SQLA_URI_VALIDATOR (#27847) 2024-04-02 09:00:32 -07:00
github-actions[bot] 0d0e47acf7
chore(🦾): bump python flask-session 0.5.0 -> 0.8.0 (#27751)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
2024-04-01 20:00:42 -07:00
Michael S. Molina 356b0d8ee5
feat: Adds Heatmap chart migration logic (#27771) 2024-03-29 12:08:43 -03:00
Guen Prawiroatmodjo fcf90dffa8
feat(db_engine): Add custom_user_agent when connecting to MotherDuck (#27665) 2024-03-28 18:05:28 -07:00
John Bodley 3ae74d1f2d
fix: Provide more inclusive error handling for saved queries (#27644) 2024-03-26 16:22:14 -03:00
Maxime Beauchemin 12921e6ec3
chore(🤖): bump python "flask==2.3.3" (#27657) 2024-03-26 12:18:36 -07:00
John Bodley 28cbedb82f
fix: Leverage actual database for rendering Jinjarized SQL (#27646) 2024-03-27 08:12:25 +13:00
Vitor Avila d87422527b
feat(jinja): metric macro (#27582) 2024-03-25 15:07:17 +00:00
Jack 30b497e758
feat(alerts-reports): adding pdf filetype to email and slack reports (#27497) 2024-03-22 17:54:30 +01:00
Beto Dealmeida cd7972d05b
feat: support for KQL in `SQLScript` (#27522) 2024-03-22 12:48:20 -04:00
Kamil Gabryjelski 5083ca0e81
fix: Persist query params appended to permalink (#27601) 2024-03-22 10:24:31 +01:00
John Bodley b25dd0c055
fix(sql_parse): Ensure table extraction handles Jinja templating (#27470) 2024-03-22 13:39:28 +13:00
Sam Firke d4d8625ab8
fix(utils): fix off-by-one error in how rolling window's min_periods truncates dataframe (#27388) 2024-03-21 16:06:36 -06:00
Beto Dealmeida 72a41c1642
fix: sqlglot SQL Server (#27577) 2024-03-21 17:09:40 -04:00
Michael S. Molina 6e528426dd
feat: Adds option to disable drill to detail per database (#27536) 2024-03-21 15:51:09 -03:00
hlcianfagna fcceaf081c
fix(db_engine_specs): Update convert_dttm to work correctly with CrateDB (#27567) 2024-03-21 11:35:40 -07:00
Michael S. Molina 718cd64657
fix: Skips Hive tests that are blocking PRs (#27605) 2024-03-21 13:26:24 -03:00
Beto Dealmeida f274c4785d
fix: skip another Hive test (#27595) 2024-03-20 16:59:27 -04:00
Beto Dealmeida 5e8459bb91
fix: Hive integration test (#27523) 2024-03-20 13:55:35 -04:00
Beto Dealmeida 36290ce72f
fix: guest queries (#27566) 2024-03-19 11:20:52 -04: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 376bfd05bd
fix: pass valid SQL to SM (#27464) 2024-03-18 15:38:58 -04:00
Beto Dealmeida 36fd3c0bf8
feat: `improve _extract_tables_from_sql` (#26748) 2024-03-18 13:02:58 -04:00
Ville Brofeldt 7f19d296b1
fix(postprocessing): resample with holes (#27487) 2024-03-14 12:02:01 -07:00
Beto Dealmeida 26d8077e97
chore: improve SQL parsing (#26767) 2024-03-13 18:27:01 -04:00
Beto Dealmeida 735b895dd5
fix: check if guest user modified query (#27484) 2024-03-12 21:28:06 -04:00
Beto Dealmeida 6a7e5c2faf
chore: add unit test for `values_for_column` (#27469) 2024-03-12 12:40:48 -04:00
Geido 89e89de341
fix: SSH Tunnel configuration settings (#27186) 2024-03-11 16:56:54 +01:00
JUST.in DO IT 5107cc0fd9
fix(sqllab): Close already removed tab (#27391) 2024-03-06 08:59:56 -08:00
Vitor Avila 66bf70172f
fix(API): Updating assets via the API should preserve ownership configuration (#27364) 2024-03-06 16:40:41 +00:00
Daniel Vaz Gaspar a3d2e0bf44
fix: improve explore REST api validations (#27395) 2024-03-05 17:44:51 +00:00
Yongjie Zhao 2c00cc534c
feat: support to fetch multiple date time in time_range endpoint (#27370)
Co-authored-by: Yongjie Zhao <yongjie.zhao@burda-forward.de>
2024-03-04 11:50:05 +01:00
Yongjie Zhao e89ec4d593
feat: datediff in datetime_parser (#27368)
Co-authored-by: Yongjie Zhao <yongjie.zhao@burda-forward.de>
2024-03-04 11:49:48 +01:00
Michael S. Molina 8a46694ce9
fix: Missing SQL Lab permission (#27361) 2024-03-01 13:08:39 -05:00
Vitor Avila 9beee92da1
feat(logs context): Adding dashboard id to logs context (#27298) 2024-02-29 13:28:54 -08:00
Jongwoo Han 234a139fb2
chore: Replace deprecated command with environment file (#27304) 2024-02-29 15:16:20 +00:00
Vitor Avila 1d571ec9e6
feat(jinja): current_user_email macro (#27197) 2024-02-23 15:28:30 -08:00
John Bodley 2c564817f1
fix(sqlglot): Address regressions introduced in #26476 (#27217) 2024-02-24 08:47:36 +13:00
Beto Dealmeida c54fbe6e96
fix: no limit in SELECT * for TOP dbs (#27215) 2024-02-22 17:01:29 -05:00
Antonio Rivero 127df24c08
refactor(plugins): Time Comparison Utils (#27145) 2024-02-22 14:43:43 +01:00
Stepan 2e4f6d3f38
perf(export): export generates unnecessary files content (#26765) 2024-02-21 16:28:38 -07:00
Daniel Vaz Gaspar ceda51617b
fix: CSRF exempt unit_tests (#27168) 2024-02-20 16:18:30 +00:00
Daniel Vaz Gaspar 3eedcb4a2f
fix: unlock and bump werkzeug (#27164) 2024-02-20 10:42:32 +00:00
John Bodley 8749d9f386
chore(tests): Remove unnecessary explicit Flask-SQLAlchemy session expunges (#27136) 2024-02-17 07:05:22 +13: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