Commit Graph

2046 Commits

Author SHA1 Message Date
Maxime Beauchemin c618767c6b
fix: don't strip SQL comments in Explore (#28363) 2024-05-07 14:49:46 -07:00
John Bodley 467e612533
fix: Remedy logic for UpdateDatasetCommand uniqueness check (#28341) 2024-05-07 06:42:37 -07:00
Maxime Beauchemin c10cee3a39
fix: use pessimistic json encoder in SQL Lab (#28266) 2024-05-06 12:23:50 -07:00
John Bodley 27c93f438a
chore: Add Apache Spark Jinja template processor (#28335) 2024-05-06 09:24:25 -07:00
Beto Dealmeida e90246fd1f
feat(SIP-95): permissions for catalogs (#28317) 2024-05-06 11:41:58 -04:00
Daniel Vaz Gaspar 9a339f08a7
feat: new Columnar upload form and API (#28192) 2024-05-06 15:51:42 +01:00
John Bodley 27952e7057
fix: Ignore USE SQL keyword when determining SELECT statement (#28279) 2024-05-02 11:25:55 -07:00
Maxime Beauchemin 513852b7c3
fix: all_database_access should enable access to all datasets/charts/dashboards (#28205) 2024-05-02 09:25:14 -07:00
Maxime Beauchemin 3ac387bb66
chore: enable ruff's isort equivalent (#28267) 2024-04-30 18:29:49 -07:00
Beto Dealmeida fe37d914e5
fix: % replace in `values_for_column` (#28271) 2024-04-30 16:15:56 -07:00
John Bodley c5e7d870f0
fix(sql_parse): Provide more lenient logic when extracting latest[_sub]_partition (#28152) 2024-04-25 22:02:25 -07:00
Beto Dealmeida 6cf681df68
feat(SIP-95): new endpoint for table metadata (#28122) 2024-04-25 12:23:49 -04:00
Maxime Beauchemin 2d63722150
chore: set up ruff as a new linter/formatter (#28158) 2024-04-24 17:19:53 -07:00
John Bodley bc65c245fe
chore(tests): Remove unnecessary/problematic app contexts (#28159) 2024-04-24 13:46:35 -07:00
Daniel Vaz Gaspar de82d90b9c
chore: refactor file upload commands (#28164) 2024-04-23 08:42:19 +01:00
Maxime Beauchemin cfc440c56c
feat: improve event logging for queries + refactor (#27943)
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2024-04-22 16:30:50 -07:00
Daniel Vaz Gaspar e465876ed4
feat: new Excel upload form and API (#28105) 2024-04-19 14:19:42 +01:00
John Bodley 2f11f66167
fix(sql_parse): Support Jinja format() filter when extracting latest[_sub]_partition (#28117) 2024-04-18 10:23:09 -07:00
Beto Dealmeida 68a982dfe6
feat(sip-95): new endpoint for extra table metadata (#28063) 2024-04-18 10:42:53 -04:00
Maxime Beauchemin e9c0ca545f
feat: Slack Avatar integration (#27849) 2024-04-16 08:40:27 -07:00
Maxime Beauchemin de9daf7ad9
chore: stabilize MySQL tests by aligning isolation levels (#28028) 2024-04-15 15:49:09 -07:00
Maxime Beauchemin c225e17a75
chore: consolidate the Superset python package metadata (#27884) 2024-04-15 14:44:47 -07:00
Guen Prawiroatmodjo 08aaebbf7c
feat(dbview): Add token request button to DuckDB and MotherDuck database modal (#27908)
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2024-04-15 09:02:19 -04:00
Daniel Vaz Gaspar 54387b4589
feat: new CSV upload form and API (#27840) 2024-04-15 09:38:51 +01:00
Beto Dealmeida 99a1601aea
refactor: rename get_sqla_engine_with_context (#28012) 2024-04-12 13:31:05 -04:00
Antonio Rivero 6844735a45
fix(time_offset): improved LIMIT-handling in advanced analytics (#27934) 2024-04-12 00:54:21 +02:00
John Bodley 481a63da55
chore(tests): Remove ineffectual login (#27149) 2024-04-09 09:52:02 -07:00
Beto Dealmeida 9377227e06
chore(OAuth2): refactor for custom OAuth2 clients (#27880) 2024-04-05 12:17:39 -04:00
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
Daniel Vaz Gaspar c96e38c07c
fix: removes old deprecated sqllab endpoints (#27117) 2024-02-15 15:58:48 +00:00
lodu 9514300da5
fix(docker): *-dev tags target right stage from Dockerfile (#27116) 2024-02-14 16:58:47 -08:00
John Bodley 847ed3f5b0
refactor: Ensure Flask framework leverages the Flask-SQLAlchemy session (Phase II) (#26909) 2024-02-14 06:20:15 +13:00
Geido 595c6ce3e6
chore: Add granular permissions for actions in Dashboard (#27029) 2024-02-09 16:25:32 +02:00
Maxime Beauchemin 13915bbb54
feat(docker): allow for docker release builds to be multi-platform (#27055) 2024-02-08 20:58:36 -08:00
Beto Dealmeida cf84f36a6c
chore: prevent prophet from logging non-errors as errors (#27053) 2024-02-08 17:33:07 -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
Maxime Beauchemin 6b0d8ed265
feat: docker image tags documentation + tweaks (#26923)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
2024-02-01 18:04:23 -08:00
Usiel Riedl 56069b05f9
fix(cache): remove unused webserver config & handle trailing slashes (#22849) 2024-02-01 10:34:07 -05:00
Daniel Vaz Gaspar 36ce9e26f0
fix: dashboard import validation (#26887) 2024-02-01 10:09:59 +00:00
Michael S. Molina 8a2f7d378a
refactor: Removes the deprecated GENERIC_CHART_AXES feature flag (#26372) 2024-01-31 09:45:57 -05:00
Maxime Beauchemin 4b77129cc9
fix(docker): improve docker tags to be cleared and avoid conflicts (#26787) 2024-01-30 23:03:25 -08:00
Erich 484901f483
fix(pinot): typo in the name for epoch_ms_to_dttm (#26906) 2024-01-30 20:49:55 -08:00
Evan Rusackas 785e832e8d
chore(actions): generate FOSSA report on master, and ALWAYS check for… (#26857) 2024-01-29 16:18:50 -07:00
Elizabeth Thompson 78dc6ce6c9
feat: add chart id and dataset id to global logs (#26443) 2024-01-29 10:03:24 -08:00
Beto Dealmeida fade4806ce
fix: prevent guest user from modifying metrics (#26749) 2024-01-29 12:59:33 -05:00
Geido 6c029ce2e8
chore: Add permission to view and drill on Dashboard context (#26798) 2024-01-29 18:28:10 +01:00
Vitor Avila 4f56f5ee84
fix(tags): Filter system tags from the tags list (#26701) 2024-01-26 12:00:27 -08:00
Michael S. Molina 5e633d2bb0
fix: Row limit hardcoded (#26807) 2024-01-26 08:57:21 -05:00