This is an automated email from the ASF dual-hosted git repository.
beto pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
from 9a339f08a7 feat: new Columnar upload form and API (#28192)
add e90246fd1f feat(SIP-95): permissions for catalogs (#28317)
No new revisions were added by this update.
Summary of changes:
superset/commands/database/create.py | 35 +-
superset/commands/database/tables.py | 31 +-
superset/commands/database/update.py | 202 +++++++++--
superset/commands/sql_lab/export.py | 6 +-
superset/config.py | 6 +-
superset/connectors/sqla/models.py | 63 +++-
superset/constants.py | 1 +
superset/databases/api.py | 82 ++++-
superset/databases/filters.py | 21 +-
superset/databases/schemas.py | 15 +
superset/db_engine_specs/base.py | 24 +-
superset/db_engine_specs/bigquery.py | 6 +-
superset/db_engine_specs/clickhouse.py | 4 +-
superset/db_engine_specs/impala.py | 7 +-
superset/db_engine_specs/postgres.py | 34 +-
superset/db_engine_specs/presto.py | 6 +-
superset/db_engine_specs/snowflake.py | 8 +-
superset/extensions/metadb.py | 5 -
superset/migrations/shared/catalogs.py | 116 ++++++
...-52_58d051681a3b_add_catalog_perm_to_tables.py} | 31 +-
superset/models/core.py | 82 +++--
superset/models/helpers.py | 16 +-
superset/models/slice.py | 1 +
superset/security/manager.py | 400 ++++++++++++++++-----
superset/utils/cache.py | 10 +-
superset/utils/core.py | 15 +-
superset/utils/filters.py | 2 +
superset/views/database/mixins.py | 28 +-
tests/integration_tests/databases/api_tests.py | 115 +++---
.../integration_tests/databases/commands_tests.py | 8 +-
.../db_engine_specs/postgres_tests.py | 4 +-
tests/integration_tests/model_tests.py | 8 +-
tests/integration_tests/security_tests.py | 24 +-
tests/integration_tests/sqllab_tests.py | 8 +-
tests/unit_tests/commands/databases/create_test.py | 128 +++++++
tests/unit_tests/commands/databases/tables_test.py | 203 +++++++++++
tests/unit_tests/commands/databases/update_test.py | 272 ++++++++++++++
tests/unit_tests/conftest.py | 2 +
tests/unit_tests/connectors/sqla/models_test.py | 123 +++++++
tests/unit_tests/databases/api_test.py | 98 +++++
tests/unit_tests/databases/filters_test.py | 128 +++++++
tests/unit_tests/db_engine_specs/test_base.py | 10 +
tests/unit_tests/db_engine_specs/test_postgres.py | 30 ++
tests/unit_tests/explore/utils_test.py | 1 +
tests/unit_tests/models/core_test.py | 60 ++++
tests/unit_tests/security/manager_test.py | 32 +-
tests/unit_tests/utils/filters_test.py | 54 +++
tests/unit_tests/utils/test_core.py | 27 ++
.../unit_tests/views/database}/__init__.py | 0
tests/unit_tests/views/database/mixins_test.py | 65 ++++
50 files changed, 2330 insertions(+), 327 deletions(-)
create mode 100644 superset/migrations/shared/catalogs.py
copy
superset/migrations/versions/{2023-06-27_16-54_8e5b0fb85b9a_add_custom_size_columns_to_report.py
=> 2024-05-01_10-52_58d051681a3b_add_catalog_perm_to_tables.py} (59%)
create mode 100644 tests/unit_tests/commands/databases/create_test.py
create mode 100644 tests/unit_tests/commands/databases/tables_test.py
create mode 100644 tests/unit_tests/commands/databases/update_test.py
create mode 100644 tests/unit_tests/databases/filters_test.py
create mode 100644 tests/unit_tests/utils/filters_test.py
copy {superset/advanced_data_type =>
tests/unit_tests/views/database}/__init__.py (100%)
create mode 100644 tests/unit_tests/views/database/mixins_test.py