This is an automated email from the ASF dual-hosted git repository.
aminghadersohi pushed a change to branch mcp-update-chart-preserve-form-data
in repository https://gitbox.apache.org/repos/asf/superset.git
from 4b005000109 Merge remote-tracking branch 'origin/master' into
mcp-update-chart-preserve-form-data
add 0bd63c1e123 fix(mcp): rebuild rebind preservation on shared merge
helper
add 29dd683f801 fix(database): set default catalog on dataset created from
file uploads (#43586)
add b1185d8c05c fix(sql): preserve optimizer hints when formatting
semicolon-terminated statements with trailing comments (#43565)
add e0103fa8896 fix(plugin-chart-echarts): honor per-metric formats in
Timeseries tooltips (#43113)
add 67d170e6119 fix(reports): don't send both chart and dashboard on
create (#43137)
add 3e13b89427e feat(ci): add testcontainers-based db_engine_specs tests
(7 dialects) (#43502)
add 0484f9c2091 fix(database): sync schema_access permissions on import
(#43950)
add f8caa2bc2b4 fix(dashboard): stop duplicate cross-filter chips in
FilterBar (#43949)
add f69023a9c6c fix(dashboard): freeze nested tabs to the top when
scrolling down (#43940)
add 6fb8adec247 Merge remote-tracking branch 'origin/master' into
mcp-update-chart-preserve-form-data
No new revisions were added by this update.
Summary of changes:
.github/workflows/testcontainers.yml | 184 +++++++
UPDATING.md | 2 +-
docs/src/data/databases.json | 2 +-
pyproject.toml | 31 +-
pytest.ini | 8 +-
requirements/development.in | 29 +-
requirements/development.txt | 159 +++++-
.../src/Timeseries/transformProps.ts | 79 ++-
.../test/Timeseries/transformProps.test.ts | 579 +++++++++++++++++++++
.../DashboardBuilder/DashboardBuilder.test.tsx | 98 +++-
.../DashboardBuilder/DashboardBuilder.tsx | 19 +-
.../TabsRenderer/StickyTabsOffsetContext.ts} | 33 +-
.../TabsRenderer/TabsRenderer.test.tsx | 171 +++++-
.../gridComponents/TabsRenderer/TabsRenderer.tsx | 179 +++++--
.../gridComponents/TabsRenderer/index.ts | 1 +
.../FilterControls.overflow.test.tsx | 179 ++++++-
.../FilterBar/FilterControls/FilterControls.tsx | 79 ++-
.../FilterBar/FiltersDropdownContent/index.tsx | 21 +-
.../src/features/reports/ReportModal/index.tsx | 4 +
superset/commands/database/importers/v1/utils.py | 31 +-
superset/commands/database/uploaders/base.py | 24 +-
superset/commands/database/utils.py | 27 +-
superset/db_engine_specs/__init__.py | 15 +
superset/db_engine_specs/clickhouse.py | 11 +-
superset/db_engine_specs/cockroachdb.py | 5 +-
superset/mcp_service/chart/chart_utils.py | 30 +-
superset/mcp_service/chart/tool/update_chart.py | 177 +++----
superset/sql/parse.py | 66 ++-
tests/integration_tests/databases/api_tests.py | 11 +-
{scripts => tests/testcontainers}/__init__.py | 0
.../testcontainers/db_engine_specs}/__init__.py | 0
tests/testcontainers/db_engine_specs/_driver.py | 47 ++
.../testcontainers/db_engine_specs/_pagination.py | 68 +++
.../db_engine_specs/test_clickhouse.py | 130 +++++
.../db_engine_specs/test_cockroachdb.py | 97 ++++
tests/testcontainers/db_engine_specs/test_crate.py | 103 ++++
.../db_engine_specs/test_databend.py | 114 ++++
tests/testcontainers/db_engine_specs/test_db2.py | 95 ++++
.../db_engine_specs/test_elasticsearch.py | 107 ++++
.../db_engine_specs/test_firebird.py | 146 ++++++
.../testcontainers/db_engine_specs/test_mariadb.py | 117 +++++
.../testcontainers/db_engine_specs/test_monetdb.py | 127 +++++
.../testcontainers/db_engine_specs/test_mongodb.py | 141 +++++
tests/testcontainers/db_engine_specs/test_mssql.py | 93 ++++
tests/testcontainers/db_engine_specs/test_mysql.py | 117 +++++
.../db_engine_specs/test_oceanbase.py | 221 ++++++++
.../testcontainers/db_engine_specs/test_oracle.py | 95 ++++
.../db_engine_specs/test_postgres.py | 99 ++++
.../db_engine_specs/test_risingwave.py | 127 +++++
.../db_engine_specs/test_starrocks.py | 156 ++++++
.../db_engine_specs/test_timescaledb.py | 98 ++++
tests/testcontainers/db_engine_specs/test_trino.py | 104 ++++
tests/testcontainers/db_engine_specs/test_ydb.py | 148 ++++++
.../db_engine_specs/test_yugabytedb.py | 119 +++++
.../databases/importers/v1/command_test.py | 52 ++
.../commands/databases/upload_command_test.py | 61 +++
.../databases/commands/importers/v1/import_test.py | 162 ++++++
tests/unit_tests/databases/commands/utils_test.py | 128 ++++-
tests/unit_tests/db_engine_specs/test_init.py | 50 ++
.../mcp_service/chart/tool/test_update_chart.py | 14 +-
tests/unit_tests/sql/parse_tests.py | 71 ++-
61 files changed, 5197 insertions(+), 264 deletions(-)
create mode 100644 .github/workflows/testcontainers.yml
copy superset-frontend/{packages/superset-ui-core/src/utils/withLabel.ts =>
src/dashboard/components/gridComponents/TabsRenderer/StickyTabsOffsetContext.ts}
(51%)
copy {scripts => tests/testcontainers}/__init__.py (100%)
copy {scripts => tests/testcontainers/db_engine_specs}/__init__.py (100%)
create mode 100644 tests/testcontainers/db_engine_specs/_driver.py
create mode 100644 tests/testcontainers/db_engine_specs/_pagination.py
create mode 100644 tests/testcontainers/db_engine_specs/test_clickhouse.py
create mode 100644 tests/testcontainers/db_engine_specs/test_cockroachdb.py
create mode 100644 tests/testcontainers/db_engine_specs/test_crate.py
create mode 100644 tests/testcontainers/db_engine_specs/test_databend.py
create mode 100644 tests/testcontainers/db_engine_specs/test_db2.py
create mode 100644 tests/testcontainers/db_engine_specs/test_elasticsearch.py
create mode 100644 tests/testcontainers/db_engine_specs/test_firebird.py
create mode 100644 tests/testcontainers/db_engine_specs/test_mariadb.py
create mode 100644 tests/testcontainers/db_engine_specs/test_monetdb.py
create mode 100644 tests/testcontainers/db_engine_specs/test_mongodb.py
create mode 100644 tests/testcontainers/db_engine_specs/test_mssql.py
create mode 100644 tests/testcontainers/db_engine_specs/test_mysql.py
create mode 100644 tests/testcontainers/db_engine_specs/test_oceanbase.py
create mode 100644 tests/testcontainers/db_engine_specs/test_oracle.py
create mode 100644 tests/testcontainers/db_engine_specs/test_postgres.py
create mode 100644 tests/testcontainers/db_engine_specs/test_risingwave.py
create mode 100644 tests/testcontainers/db_engine_specs/test_starrocks.py
create mode 100644 tests/testcontainers/db_engine_specs/test_timescaledb.py
create mode 100644 tests/testcontainers/db_engine_specs/test_trino.py
create mode 100644 tests/testcontainers/db_engine_specs/test_ydb.py
create mode 100644 tests/testcontainers/db_engine_specs/test_yugabytedb.py