Commit Graph

3944 Commits

Author SHA1 Message Date
Yongjie Zhao
285c1b5d22 fix: skip set and log when NullCache (#15493) 2021-07-01 14:04:46 +03:00
Beto Dealmeida
e606477ec1 feat: more SIP-40 errors (#15482) 2021-06-30 16:32:59 -07:00
John Bodley
ffa51753e3 refactor: Moving get_user_datasources to security manager (#15467)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-07-01 04:51:11 +12:00
Abhishek Jog
7ad8fd5c98 feat(add Netezza database): Add IBM Netezza support (#15450)
* Add netezza to superset

* update netezza logo

* change in logo filename

* fixing linter error

* removing stray code
2021-06-30 08:27:54 -04:00
Yongjie Zhao
61e6b7017b fix: nvd3 bar chart sortby metric (#15318) 2021-06-30 19:36:05 +08:00
Yongjie Zhao
292bce5862 fix: raise unexpected error when orderby is empty (#15353)
* fix: raise unexpected error when orderby is empty

* fix ut
2021-06-30 19:34:54 +08:00
rijojoseph07
a2d69ea252 feat(trino): add support for query cost estimate #15166 (#15177)
* added estimate_statement_cost to trino

* file formatted

Co-authored-by: rijojoseph01 <rijo.joseph@myntra.com>
2021-06-30 13:05:22 +03:00
Beto Dealmeida
5181a74116 chore: simplify errors and issue codes (#15437) 2021-06-29 19:33:28 -07:00
Beto Dealmeida
149c5fd594 feat: add more SIP-40 errors to SQL Lab (#15436) 2021-06-29 18:17:16 -07:00
AAfghahi
743d9cc928 feat: Better Errors in SQL Lab (#15432)
* snowflake errors

* added big query

* added to setup error messages, first test

* all big query testing added

* added snowflake test

* added syntax error

* added syntax errors to most used databases
2021-06-29 16:48:27 -07:00
Ville Brofeldt
ab7f31fd85 Revert "refactor(feature_flags configurations): remove redundant additional configuration for default vales (#15425)" (#15448) 2021-06-29 16:52:01 +03:00
Daniel Vaz Gaspar
727847d2e5 fix: remove unnecessary app context on celery (#15422)
* fix: remove unnecessary app context on celery

* fix lint

* fix lint
2021-06-29 12:16:16 +01:00
Ville Brofeldt
f33a0e1d68 fix: import superset_config (#15444)
* fix: import superset_config

* make module name constant
2021-06-29 13:30:05 +03:00
Beto Dealmeida
ed6d10e283 Remove pydash merge (#15435) 2021-06-28 15:40:44 -07:00
Beto Dealmeida
21d1fb55c6 feat: more error messages (#15409) 2021-06-28 14:51:31 -07:00
Daniel Vaz Gaspar
f52b6715cf fix: downgrade selenium log level on timeout (#15328) 2021-06-28 20:02:05 +01:00
ofekisr
486b8d911f refactor(feature_flags configurations): remove redundant additional configuration for default vales (#15425) 2021-06-28 16:30:13 +03:00
ofekisr
d8a1acffde chore(refactor): load configuration and merge recursively (#15405)
* refactor load configuration

* refactor init configuration to enable recursive merge

* Update config.py

* Update app.py

* fix lint and black issue
2021-06-28 13:53:26 +03:00
Amit Miran
8205ea53ab chore: add DASHBOARD_FILTERS_EXPERIMENTAL ff to BE default value (#15417) 2021-06-28 12:56:43 +03:00
dkrat7
e62cb2f991 chore: Add Slovenian (sl_SI) translation (#14908)
* slovenian translation - config file

* slovenian translation - po, json
2021-06-27 23:30:16 +03:00
ofekisr
73e2c09af0 fix(regression): removed flask_app property can break derived class (#15407)
* fix removed flask_app property can break derived class

* Update __init__.py
2021-06-27 17:52:13 +03:00
Kamil Gabryjelski
09c44d05fd feat(native-filters): Hide non-numeric columns in numeric range filter (#15385)
* feat(native-filters): Hide non-numeric columns in numeric range filter

* Return true if type_generic undefined

* Code review comments

* Replace any with string

* fix tests

* add missing columns to select

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-06-27 07:35:17 +03:00
John Bodley
accee507c0 chore: Add Druid SQL timegrains for parity with Druid NoSQL (#15320)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-06-25 07:21:51 -07:00
Beto Dealmeida
241ee32f56 feat: custom error SQL Lab timeout (#15342)
* feat: custom error SQL Lab timeout

* Update test
2021-06-24 08:02:49 -07:00
Yongjie Zhao
b3616d23a4 fix: follow up pr-15343 (#15355) 2021-06-24 16:38:25 +08:00
Yongjie Zhao
fae4531f1e fix: missing orderby in query on the nvd3 timeseries chart (#15343) 2021-06-24 16:01:38 +08:00
serenajiang
b295c6ad43 fix(api): handle undefined column type_generic (#15315) 2021-06-23 09:42:00 -07:00
John Bodley
ea382e404d fix: Capitalize time grainularity weekdays (#15319)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-06-23 08:30:30 -07:00
Beto Dealmeida
4b00c152cc feat: implement specific errors for SQL Lab (#15206)
* RESULTS_BACKEND_NOT_CONFIGURED_ERROR

* DML_NOT_ALLOWED_ERROR

* INVALID_CxAS_QUERY_ERROR

* Fix lint

* Add more tests
2021-06-23 07:58:20 -07:00
Beto Dealmeida
216e2b8e8e fix: datasource payload is incorrect (#15184)
* fix: datasource payload is incorrect

* Add tests, clean code
2021-06-23 06:59:34 -07:00
Elizabeth Thompson
58cc78d2c1 fix: return query if it already exists (#15207)
* check if query exists before saving a new one

* fix test
2021-06-22 13:57:37 -07:00
Ben Reinhart
ab153e66cc feat: Synchronously return cached charts (#15157)
* feat: Synchronously return cached charts

* Fix lint issue

* Fix python lint error

* Change getChartDataRequest to return response

* Fix lint errors

* Add test

* explore_json: skip cached data check for forced refresh

Co-authored-by: Rob DiCiuccio <rob.diciuccio@gmail.com>
2021-06-22 10:00:57 -07:00
AAfghahi
4d48f0426d adding new feature flag (#15238) 2021-06-22 11:06:54 -04:00
ofekisr
cd0e03a57f chore: encapsulate flask app into superset app (#15281) 2021-06-21 16:05:05 +03:00
ofekisr
2792ddc9b5 refactor: move SupersetAppInitializer to specific initialization package (#15278) 2021-06-21 13:22:23 +03:00
ofekisr
b1689aa93b chore move calling configure_feature_flags more earlier (#15223)
Co-authored-by: Ofeknielsen <ofek.israel@nieslen.com>
2021-06-21 10:35:18 +03:00
Ville Brofeldt
f24264ccdc feat(native-filters): add support for import/export dashboard (#15253)
* feat(native-filters): add support for import/export

* fix test and non-dataset filters

* lint
2021-06-19 08:29:40 +03:00
Ville Brofeldt
822eb2e27e feat(sql): add jinja support to metrics and expressions (#15247)
* feat(sql): add jinja support to metrics and expressions

* add test
2021-06-19 08:29:04 +03:00
Daniel Wood
a1027152ba add ascend engine spec (#14682) 2021-06-18 10:35:55 -07:00
Ville Brofeldt
1269cc2f88 fix(examples): calendar chart metric should be metrics (#15173)
* fix(examples): calendar chart metric should be metrics

* fix presto test
2021-06-17 14:55:50 +03:00
Hugh A. Miles II
965dacdb33 fix: Fix dremio dialect not having a driver field (#15198)
* Update __init__.py

* Update superset/db_engine_specs/__init__.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-06-16 20:02:02 -04:00
ʈᵃᵢ
91e424bbb4 fix(logging): downgrade csv export log to debug (#15123)
* fix(logging): downgrade csv export log to debug

* blacking

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2021-06-16 16:53:45 -07:00
Beto Dealmeida
d625f5f111 feat: show rich error messages on past failed queries (#15158)
* feat: store SIP-40 error payload with queries

* Set errors in query on load
2021-06-16 12:58:14 -07:00
Ville Brofeldt
83602923f5 feat(api): add featured datatypes to dashboard dataset ep (#15188) 2021-06-16 12:36:11 +03:00
Beto Dealmeida
ffdbcbd16e fix: ignore errors in GetLog (#15181) 2021-06-15 16:33:59 -07:00
Elizabeth Thompson
7dc0cee5be add another wait for chart element (#15108) 2021-06-15 10:00:36 -07:00
Beto Dealmeida
90d9097841 fix: validate DB-specific parameters (#15155)
* fix: validate DB-specific parameters

* Fix lint

* Update test

* Fix lint/test

* Fix lint

* Update superset/databases/api.py
2021-06-14 18:44:18 -07:00
Ajay M
045fa1bc7a feat(dashboard): Let users download full CSV of a table (#15046)
* - Convert SliceHeader to TSX in progress
- Add menu option to download full CSV. Probably will change it

* Add Download Full CSV feature, and tests

* Added more tests, more TS fixes

* Added feature flag

* Update @superset-ui package versions

* Update @superset-ui packages versions

* use backend config instead of hardcoding number of rows

* Update tests

* front end test fix

* Lint fixes and test fixes
2021-06-14 14:26:18 -07:00
Hugh A. Miles II
143a1b0650 fix: Test connection before starting on create transaction (#15100)
* test connection before starting on create transaction

* Update create.py
2021-06-14 12:44:27 -04:00
Beto Dealmeida
53df152362 feat: show spinner on exports (#15107)
* feat: show spinner on exports

* Set cookie only if token is passed

* Use iframe

* Small fixes

* Fix lint

* Remove stale test

* Add explicit type
2021-06-11 17:25:00 -07:00