You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2023/03/15 00:34:06 UTC

[superset] branch hugh/migrate-estimate_query_cost-to-v1 updated (2fa8cd31dd -> 2fdd8284b6)

This is an automated email from the ASF dual-hosted git repository.

hugh pushed a change to branch hugh/migrate-estimate_query_cost-to-v1
in repository https://gitbox.apache.org/repos/asf/superset.git


    from 2fa8cd31dd lit
     add 9ae81b7c33 fix(sqllab): empty large query results from localStorage (#23302)
     add b820eb8235 chore: Update pre-commit packages (#23173)
     add b90a11191f fix(safari): remove autocomplete in table select (#23361)
     add 63513a5873 fix(chart-controls): Error if x_axis_sort and timeseries_limit_metric are included in main metrics (#23365)
     add db95a93f43 feat(native-filters): allow cascading from time and numeric filters (#23319)
     add df9a5bb6df build(deps-dev): bump @types/node from 18.14.6 to 18.15.3 in /superset-websocket (#23360)
     add d2c1fb95ec fix(native-filters): Caching scope (#23314)
     add 1b95da7487 fix: table schema permissions (#23356)
     add 1874f9a3b6 fix: dataset_macro (#23376)
     add 2fdd8284b6 Merge branch 'master' of https://github.com/apache/superset into hugh/migrate-estimate_query_cost-to-v1

No new revisions were added by this update.

Summary of changes:
 .pre-commit-config.yaml                            |  9 ++-
 RELEASING/changelog.py                             |  2 +-
 .../integration/dashboard/nativeFilters.test.ts    |  6 +-
 .../src/components/ColumnOption.tsx                |  8 +-
 .../src/components/MetricOption.tsx                |  8 +-
 .../src/operators/utils/extractExtraMetrics.ts     |  5 +-
 .../src/shared-controls/customControls.tsx         | 12 ++-
 .../operators/utils/extractExtraMetrics.test.ts    | 32 ++++++++
 .../SqlEditorLeftBar/SqlEditorLeftBar.test.jsx     |  4 +-
 superset-frontend/src/SqlLab/constants.ts          |  1 +
 .../src/SqlLab/utils/emptyQueryResults.test.js     | 39 ++++++++-
 .../SqlLab/utils/reduxStateToLocalStorageHelper.js | 21 ++++-
 .../DatabaseSelector/DatabaseSelector.test.tsx     | 12 +--
 .../src/components/DatabaseSelector/index.tsx      |  8 +-
 .../src/components/EmptyState/index.tsx            | 24 +++---
 .../Table/cell-renderers/NullCell/index.tsx        |  8 +-
 .../TableSelector/TableSelector.test.tsx           | 16 ++--
 .../src/components/TableSelector/index.tsx         |  4 +-
 .../FilterBar/FilterControls/FilterControls.tsx    | 12 ++-
 .../FilterBar/FiltersDropdownContent/index.tsx     | 10 +--
 .../nativeFilters/FilterCard/NameRow.tsx           | 18 ++---
 .../FiltersConfigForm/ColumnSelect.tsx             | 18 +----
 .../FiltersConfigForm/DatasetSelect.tsx            | 13 +--
 .../FiltersConfigForm/DependencyList.tsx           |  9 ++-
 .../FiltersConfigForm/FiltersConfigForm.tsx        | 94 +++++++++++-----------
 .../FiltersConfigModal/FiltersConfigForm/utils.ts  | 16 +++-
 .../FiltersConfigModal/FiltersConfigModal.tsx      | 17 ++--
 .../src/explore/components/ControlHeader.tsx       | 10 +--
 .../components/controls/VizTypeControl/index.tsx   | 24 +++---
 .../src/views/CRUD/alert/AlertReportModal.tsx      |  7 +-
 .../AddDataset/LeftPanel/LeftPanel.test.tsx        | 16 ++--
 superset-frontend/src/views/components/Menu.tsx    |  7 +-
 .../src/visualizations/TimeTable/transformProps.ts |  2 +
 superset-websocket/package-lock.json               | 14 ++--
 superset-websocket/package.json                    |  2 +-
 superset/charts/commands/export.py                 |  1 -
 superset/charts/schemas.py                         |  1 -
 superset/cli/test.py                               |  1 -
 superset/commands/export/assets.py                 |  1 -
 superset/commands/export/models.py                 |  1 -
 superset/common/query_object.py                    |  2 -
 superset/config.py                                 |  1 +
 superset/connectors/sqla/models.py                 |  9 ++-
 superset/dashboards/commands/export.py             |  1 -
 superset/databases/api.py                          |  6 +-
 superset/databases/commands/export.py              |  1 -
 superset/databases/commands/test_connection.py     |  1 -
 superset/databases/schemas.py                      |  5 +-
 superset/datasets/commands/export.py               |  1 -
 superset/datasource/dao.py                         |  1 -
 superset/db_engine_specs/aurora.py                 |  2 -
 superset/db_engine_specs/base.py                   |  4 +
 superset/db_engine_specs/crate.py                  |  1 -
 superset/db_engine_specs/databricks.py             |  1 -
 superset/db_engine_specs/dremio.py                 |  1 -
 superset/db_engine_specs/drill.py                  |  2 +
 superset/db_engine_specs/elasticsearch.py          |  2 -
 superset/db_engine_specs/gsheets.py                |  1 -
 superset/db_engine_specs/hive.py                   |  5 +-
 superset/db_engine_specs/mysql.py                  |  2 +
 superset/db_engine_specs/netezza.py                |  1 -
 superset/db_engine_specs/presto.py                 |  8 +-
 superset/db_engine_specs/rockset.py                |  1 -
 superset/db_engine_specs/snowflake.py              |  3 +-
 superset/examples/world_bank.py                    |  1 -
 superset/exceptions.py                             |  2 +-
 superset/jinja_context.py                          |  4 +-
 .../versions/2017-10-03_14-37_4736ec66ce19_.py     |  5 --
 ...8c4473c581_allow_multi_schema_metadata_fetch.py |  1 -
 .../versions/2018-03-20_19-47_f231d82b9b26_.py     |  2 -
 ...-07-20_16-08_937d04c16b64_update_datasources.py |  2 -
 .../2019-10-10_13-52_1495eb914ad3_time_range.py    |  1 -
 ...27_08-25_31b2a1039d4a_drop_tables_constraint.py |  1 -
 ...3605f370a_fix_schemas_allowed_for_csv_upload.py |  1 -
 ...cbaac5_change_datatype_of_type_in_basecolumn.py |  1 -
 ...e5f1dacd_rename_to_schemas_allowed_for_file_.py |  1 -
 ...14-38_a9422eeaae74_new_dataset_models_take_2.py | 10 +--
 superset/models/dashboard.py                       |  4 +-
 superset/models/sql_lab.py                         |  2 -
 superset/queries/saved_queries/commands/export.py  |  1 -
 superset/reports/commands/base.py                  |  1 -
 superset/security/manager.py                       | 17 +++-
 superset/sql_parse.py                              |  2 -
 superset/sqllab/exceptions.py                      | 12 +--
 superset/sqllab/query_render.py                    |  3 +-
 superset/sqllab/sql_json_executer.py               |  3 +-
 superset/tags/models.py                            |  5 --
 superset/tasks/async_queries.py                    | 12 ++-
 superset/utils/celery.py                           |  1 +
 superset/utils/core.py                             |  9 +--
 .../utils/dashboard_filter_scopes_converter.py     |  2 +-
 superset/utils/decorators.py                       |  2 +-
 superset/utils/machine_auth.py                     |  2 +-
 superset/views/base_api.py                         |  5 +-
 superset/views/chart/mixin.py                      |  1 -
 superset/views/core.py                             |  1 -
 superset/views/dashboard/mixin.py                  |  1 -
 superset/viz.py                                    |  1 -
 tests/common/logger_utils.py                       |  1 -
 tests/integration_tests/charts/data/api_tests.py   |  3 -
 tests/integration_tests/cli_tests.py               |  1 -
 tests/integration_tests/csv_upload_tests.py        |  2 +-
 tests/integration_tests/datasets/api_tests.py      |  1 -
 .../db_engine_specs/bigquery_tests.py              |  1 +
 .../integration_tests/fixtures/energy_dashboard.py |  1 -
 tests/integration_tests/fixtures/users.py          |  1 -
 tests/integration_tests/reports/alert_tests.py     |  2 -
 tests/integration_tests/reports/api_tests.py       |  4 -
 tests/integration_tests/reports/commands_tests.py  |  9 ---
 tests/integration_tests/reports/scheduler_tests.py |  2 -
 .../security/row_level_security_tests.py           |  1 -
 tests/integration_tests/thumbnails_tests.py        |  1 -
 tests/unit_tests/explore/utils_test.py             | 21 +++--
 tests/unit_tests/jinja_context_test.py             | 41 ++++++++--
 .../pandas_postprocessing/test_flatten.py          |  8 +-
 .../unit_tests/security}/__init__.py               |  0
 tests/unit_tests/security/manager_test.py          | 91 +++++++++++++++++++++
 117 files changed, 513 insertions(+), 372 deletions(-)
 copy {superset/advanced_data_type => tests/unit_tests/security}/__init__.py (100%)
 create mode 100644 tests/unit_tests/security/manager_test.py