This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a change to branch revamped-example-loading
in repository https://gitbox.apache.org/repos/asf/superset.git
discard 834ae62b14 fix(examples): Restore energy.py loader with DuckDB support
discard 83db624435 fix: Restore mypy type: ignore comments from master
discard f45ef2a77a style: Apply ruff 0.9.7 formatting and fixes
discard 231702d352 style: Fix pytest decorator parentheses (PT001/PT023)
discard a0d6948b84 style: Apply ruff formatting to all Python files
discard 14ba1d7790 fix(examples): Preserve remote URLs in
normalize_example_data_url
discard 0408279369 style: Remove empty parentheses from pytest decorators
discard 37a8fc6980 fix(examples): Map energy.duckdb to energy_usage table name
discard 8ec3d3cd61 chore: Add noqa comments for PT004 fixture naming warnings
discard 174a53ba98 fix(examples): Add None check for SqlaTable obj before
creating slices
discard 01bf7ad4df fix: Use explicit None check for sample_rows parameter
discard 9a1bc19399 fix: Restore type: ignore comments for mypy compliance
discard 8ad629dd24 chore: Add Claude Code hook to run pre-commit before commits
discard ec7f646f60 perf(tests): Optimize fixture loading to prevent CI timeouts
discard 06486e1155 fix: Remove unused MyPy type: ignore comments and add
transaction decorators
discard 28afeb2a04 fix: Update test fixtures to use DuckDB-based example data
discard c1ae0ae498 fix: Skip test fixtures when old example modules are missing
discard 04cedd867b fix: Remove unused dashboard_slices import from dashboard
importer
discard 6fa93cd3d2 test: Skip birth_names tests conflicting with DuckDB
example format
discard e50f315228 fix: Address CodeAnt AI security and performance suggestions
discard c55b6c08f9 fix: Add Apache license headers to new README and metadata
files
discard 9ed5457169 fix: Add Apache license headers to YAML config files and
fix lambda binding
discard 6988cc3881 fix(examples): Fix example data loading issues and chart
configurations
discard 40bfdf231b chore: exclude DuckDB example files from large file check
discard c88731cc48 feat(examples): add DuckDB data files
discard 1bb1d653ae feat(examples): migrate example datasets to DuckDB and
simplify loading
add 52c711b0bc fix(dashboard): import with overwrite flag replaces charts
instead of merging (#36551)
add cd2c889c9a feat(frontend): upgrade Storybook and add extension
component documentation (#36498)
add 28e3ba749e feat: SQL execution API for Superset (#36529)
add 2329d49f9e fix(DatasourceEditor): add mount guards and fix async race
conditions (#35810)
add 821b259805 fix: Support datetime_format during import (#36679)
add d03ed57b0f feat(examples): migrate example datasets to DuckDB and
simplify loading
add 81b154fa81 feat(examples): add DuckDB data files
add 6f10ee9c10 chore: exclude DuckDB example files from large file check
add 72c732043a fix(examples): Fix example data loading issues and chart
configurations
add dc6acf1202 fix: Add Apache license headers to YAML config files and
fix lambda binding
add ff409e4397 fix: Add Apache license headers to new README and metadata
files
add f0011aacab fix: Address CodeAnt AI security and performance suggestions
add d5296a63d8 test: Skip birth_names tests conflicting with DuckDB
example format
add e1a53400b3 fix: Remove unused dashboard_slices import from dashboard
importer
add cf37c3489e fix: Skip test fixtures when old example modules are missing
add a1b9b257db fix: Update test fixtures to use DuckDB-based example data
add 1be164422a perf(tests): Optimize fixture loading to prevent CI timeouts
add bc04b5a020 chore: Add Claude Code hook to run pre-commit before commits
add 8fee8913b7 fix: Use explicit None check for sample_rows parameter
add 90696a895a fix(examples): Add None check for SqlaTable obj before
creating slices
add fa53cc18ad chore: Add noqa comments for PT004 fixture naming warnings
add cc6945df6e fix(examples): Map energy.duckdb to energy_usage table name
add 4b1d48675a style: Remove empty parentheses from pytest decorators
add a45d7c379f fix(examples): Preserve remote URLs in
normalize_example_data_url
add cea64b8463 style: Apply ruff formatting to all Python files
add 8c11e0d8b3 style: Fix pytest decorator parentheses (PT001/PT023)
add f83fcc90ad style: Apply ruff 0.9.7 formatting and fixes
add 394f777f94 fix(examples): Restore energy.py loader with DuckDB support
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (834ae62b14)
\
N -- N -- N refs/heads/revamped-example-loading (394f777f94)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/workflows/superset-frontend.yml | 18 +
.../extensions/components/alert.mdx | 131 +
.../extensions/components/index.mdx | 93 +
docs/developer_portal/extensions/development.md | 70 +
docs/docs/contributing/development.mdx | 14 +
docs/docusaurus.config.ts | 9 +-
docs/package.json | 8 +-
docs/scripts/generate-extension-components.mjs | 676 ++
docs/sidebarTutorials.js | 11 +
docs/src/theme/ReactLiveScope/index.tsx | 53 +
.../src/types/apache-superset-core/index.d.ts | 21 +-
docs/src/webpack.extend.ts | 9 +
docs/tsconfig.json | 24 +-
.../version-6.0.0/contributing/development.mdx | 14 +
docs/yarn.lock | 223 +-
superset-core/src/superset_core/api/models.py | 88 +-
superset-core/src/superset_core/api/types.py | 177 +
superset-frontend/.storybook/main.js | 61 +-
superset-frontend/.storybook/preview.jsx | 3 +-
.../test-runner.ts} | 32 +-
superset-frontend/package-lock.json | 8188 +++++++++++---------
superset-frontend/package.json | 27 +-
.../src/ui/components/Alert/Alert.stories.tsx | 11 +-
.../src/components/DesignSystem.stories.tsx | 117 +-
.../ListViewCard/ListViewCard.stories.tsx | 61 +-
.../packages/superset-ui-demo/.storybook/main.js | 15 +-
.../packages/superset-ui-demo/package.json | 12 +-
.../storybook/stories/ExampleApp.stories.jsx | 3 +-
.../AlteredSliceTag/AlteredSliceTag.stories.tsx | 4 +-
.../DatasourceEditor/DatasourceEditor.jsx | 128 +-
.../DashboardLinksExternal.test.tsx | 129 +-
.../DatasetUsageTab/DatasetUsageTab.test.tsx | 49 +
.../components/DatasetUsageTab/index.tsx | 26 +-
.../tests/DatasourceEditor.test.tsx | 723 +-
.../tests/DatasourceEditor.test.utils.tsx | 177 +
.../tests/DatasourceEditorCurrency.test.tsx | 278 +-
.../tests/DatasourceEditorRTL.test.tsx | 129 -
.../src/components/Datasource/utils/index.js | 12 +-
.../FiltersConfigModal/FiltersConfigModal.test.tsx | 16 +-
superset-frontend/src/database/actions.ts | 3 +-
.../test-runner-jest.config.js | 14 +-
superset-frontend/webpack.config.js | 2 +-
.../commands/dashboard/importers/v1/__init__.py | 42 +-
superset/commands/security/create.py | 4 +-
superset/commands/security/update.py | 4 +-
superset/core/api/core_api_injection.py | 36 +-
superset/daos/base.py | 2 +-
superset/datasets/schemas.py | 1 +
superset/examples/generic_loader.py | 7 +-
superset/models/core.py | 34 +
.../sql/execution/__init__.py | 3 +-
superset/sql/execution/celery_task.py | 486 ++
superset/sql/execution/executor.py | 1108 +++
.../commands/importers/v1/import_command_test.py | 214 +
.../datasets/commands/importers/v1/import_test.py | 95 +-
tests/unit_tests/models/core_test.py | 84 +
.../unit_tests/sql/execution}/__init__.py | 0
tests/unit_tests/sql/execution/conftest.py | 324 +
tests/unit_tests/sql/execution/test_celery_task.py | 1077 +++
tests/unit_tests/sql/execution/test_executor.py | 2114 +++++
60 files changed, 12899 insertions(+), 4595 deletions(-)
create mode 100644 docs/developer_portal/extensions/components/alert.mdx
create mode 100644 docs/developer_portal/extensions/components/index.mdx
create mode 100644 docs/scripts/generate-extension-components.mjs
create mode 100644 docs/src/theme/ReactLiveScope/index.tsx
copy superset-frontend/packages/superset-ui-core/src/query/api/v1/index.ts =>
docs/src/types/apache-superset-core/index.d.ts (65%)
create mode 100644 superset-core/src/superset_core/api/types.py
copy
superset-frontend/{packages/superset-ui-core/src/utils/removeDuplicates.ts =>
.storybook/test-runner.ts} (56%)
create mode 100644
superset-frontend/src/components/Datasource/components/DatasourceEditor/tests/DatasourceEditor.test.utils.tsx
delete mode 100644
superset-frontend/src/components/Datasource/components/DatasourceEditor/tests/DatasourceEditorRTL.test.tsx
copy docs/babel.config.js => superset-frontend/test-runner-jest.config.js (67%)
copy superset-extensions-cli/src/superset_extensions_cli/constants.py =>
superset/sql/execution/__init__.py (92%)
create mode 100644 superset/sql/execution/celery_task.py
create mode 100644 superset/sql/execution/executor.py
create mode 100644
tests/unit_tests/dashboards/commands/importers/v1/import_command_test.py
copy {superset-core/src/superset_core/api =>
tests/unit_tests/sql/execution}/__init__.py (100%)
create mode 100644 tests/unit_tests/sql/execution/conftest.py
create mode 100644 tests/unit_tests/sql/execution/test_celery_task.py
create mode 100644 tests/unit_tests/sql/execution/test_executor.py