Repository navigation
fix(csv-import): add primary key when MySQL requires one - #44411
Conversation
Uploading a CSV/Excel/columnar file creates the target table via pandas.DataFrame.to_sql, which never declares a primary key. A MySQL server configured with sql_require_primary_key = ON rejects that CREATE TABLE with error 3750, so the upload fails outright. Build the table with an explicit primary key when the server requires one: the pandas index column if it is being written, otherwise a synthesized auto-numbered column. The key has to be part of the initial CREATE TABLE since MySQL rejects the bare statement itself. The sql_require_primary_key variable only exists in MySQL 8.0.13+, so probing it is best-effort -- older servers and the MySQL-compatible engines that subclass this spec (MariaDB, Doris, StarRocks, OceanBase) error on the query and fall back to the unchanged base implementation. Co-Authored-By: Claude Opus 5 <[email protected]>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #44411 +/- ##
==========================================
- Coverage 81.59% 81.12% -0.48%
==========================================
Files 2977 2963 -14
Lines 180845 179457 -1388
Branches 41853 41288 -565
==========================================
- Hits 147554 145577 -1977
- Misses 30568 31156 +588
- Partials 2723 2724 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Code Review Agent Run #543d2f
Actionable Suggestions - 2
-
tests/unit_tests/db_engine_specs/test_mysql.py - 2
- Inline imports violate BITO 12745 · Line 528-534
- Untyped Mock locals BITO 13153 · Line 571-571
Additional Suggestions - 2
-
tests/unit_tests/db_engine_specs/test_mysql.py - 2
-
Missing Any import NameError · Line 540-540`_enforce_sql_require_primary_key` annotates `conn: Any` and `parameters: Any` (lines 540, 543), but `Any` is not imported in `tests/unit_tests/db_engine_specs/test_mysql.py` — the module header imports only `datetime`, `Decimal`, `SimpleNamespace`, `Optional`, `Mock`, `patch`, etc. The annotation is evaluated at function-definition time, so collecting this file raises `NameError: name 'Any' is not defined` and every test in the module errors. Add `Any` to the typing imports.
-
Line exceeds 88-char lint limit · Line 578-578Line 578 is 97 characters, over Superset's 88-char limit configured in `pyproject.toml` (`flake8`/`RUF` section), so the repo's lint CI will fail on this changed line. The sibling query at lines 622-624 already wraps `conn.execute(sa.text(...))` across lines — apply the same wrapping here.
-
Review Details
-
Files reviewed - 2 · Commit Range:
b7d5740..0b7e0fb- superset/db_engine_specs/mysql.py
- tests/unit_tests/db_engine_specs/test_mysql.py
-
Files skipped - 0
-
Tools
- MyPy (Static Code Analysis) - ✔︎ Successful
- Astral Ruff (Static Code Analysis) - ✔︎ Successful
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review- Manually triggers an incremental AI Review. -
/review full- Manually triggers a full AI Review. -
/pause- Pauses automatic reviews on this pull request. -
/resume- Resumes automatic reviews. -
/resolve- Marks all Bito-posted review comments as resolved. -
/abort- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at [email protected].
Documentation & Help
| import pandas as pd | ||
| import sqlalchemy as sa | ||
| from sqlalchemy import create_engine, event | ||
| from sqlalchemy.exc import OperationalError | ||
|
|
||
| from superset.db_engine_specs.mysql import MySQLEngineSpec | ||
| from superset.sql.parse import Table |
There was a problem hiding this comment.
The three new tests each repeat the same inline imports (pandas, sqlalchemy, create_engine, MySQLEngineSpec/MariaDBEngineSpec, Table) inside the function bodies (lines 528-534, 597-602, 642-647). None of these modules is circular with this test file — sibling tests in this repo import pandas/sqlalchemy at module level — so per BITO rule 12745 these belong in the module header. This also removes the triplicated import blocks.
Code Review Run #543d2f
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- Yes, avoid them
| mock_get_engine.return_value.__exit__.return_value = False | ||
|
|
||
| MySQLEngineSpec.df_to_sql( | ||
| database=Mock(), |
There was a problem hiding this comment.
The database=Mock() arguments at lines 571, 615, and 657 bind unannotated local-free literals; per BITO rule 13153, mock variables/dataset values in test files must carry explicit type annotations (e.g. database: Mock = Mock()). The sibling mock_get_engine bindings are also unannotated. This matches the rule's stated enforcement during code review.
Code Review Run #543d2f
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- Yes, avoid them
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved correctness and compatibility issues remain in primary-key detection and key-generation behavior.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Fixes MySQL file uploads when sql_require_primary_key is enabled by creating upload tables with a primary key.
Changes:
- Adds MySQL primary-key requirement detection and custom table creation.
- Uses the DataFrame index or a synthesized key.
- Adds unit tests for required and unsupported server settings.
File summaries
| File | Summary |
|---|---|
tests/unit_tests/db_engine_specs/test_mysql.py |
Tests primary-key creation and fallback behavior. |
superset/db_engine_specs/mysql.py |
Implements MySQL-specific primary-key handling for uploads. |
Review details
Suppressed comments (4)
superset/db_engine_specs/mysql.py:606
- A newly created table with the default RangeIndex gets primary-key values 0..n-1 here. A later upload with
already_exists=appendanddataframe_index=Truewrites a fresh 0..n-1 index, so the unchanged append path will hit duplicate-primary-key errors. The generated key strategy needs to remain append-safe (for example, a dedicated auto-increment key or an explicit uniqueness/offset policy) and should be covered by an append regression test.
primary_key = index_label or df.index.name or "index"
superset/db_engine_specs/mysql.py:602
- The engine context is entered even for
if_exists='append', then this method delegates tosuper().df_to_sql, which opensget_engineagain. That means every append creates and tears down an unnecessary second engine context (including SSH/OAuth/prequery setup), contrary to the unchanged append path described in the PR. Delegate append before opening this context.
with cls.get_engine(
database,
catalog=table.catalog,
schema=table.schema,
) as engine:
creating_table = to_sql_kwargs.get("if_exists", "fail") != "append"
if creating_table and cls._requires_primary_key(engine):
superset/db_engine_specs/mysql.py:606
- On MySQL, a single integer primary-key column is implicitly
AUTO_INCREMENT. The default upload index starts at 0, so inserting[0, 1, 2]into this key (withNO_AUTO_VALUE_ON_ZEROoff) can turn 0 into the next generated value and then collide with the explicit 1 in the same multi-row insert. The SQLite test cannot exercise this dialect behavior; avoid auto-increment semantics for a user-provided index key or use a compatible key strategy, and add MySQL-specific coverage.
primary_key = index_label or df.index.name or "index"
superset/db_engine_specs/mysql.py:623
- When
keysis supplied, pandasSQLTablenames thePrimaryKeyConstraintas<table_name>_pk. The upload schema allows long names, and a 64-character table name is valid in MySQL, but the resulting 67-character constraint name exceeds MySQL's 64-character identifier limit, so this path rejects otherwise valid uploads. Use a bounded constraint name or avoid pandas' hard-coded constraint name.
keys=[primary_key],
- Files reviewed: 2/2 changed files
- Comments generated: 3
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| index = to_sql_kwargs.get("index", True) | ||
| index_label = to_sql_kwargs.get("index_label") | ||
| if index: | ||
| primary_key = index_label or df.index.name or "index" |
| primary_key = "id" | ||
| while primary_key in df.columns: | ||
| primary_key = f"_{primary_key}" |
…nthesized MySQL primary key Copilot flagged two real gaps in the primary-key-adding path added by this PR, verified against pandas' actual SQLTable source and MySQL's DDL compiler behavior rather than taken on trust: - pandas declares the key via a table-level PrimaryKeyConstraint, not Column(primary_key=True), but SQLAlchemy's MySQL DDL compiler still infers AUTO_INCREMENT for a lone integer primary-key column by default. The synthesized values are explicit (a 1..n range, or the promoted pandas index), not DB-generated -- and the promoted-index case's default RangeIndex starts at 0, so inserting 0 into an AUTO_INCREMENT column asks MySQL to generate a value instead of storing 0 literally, colliding with the row whose key is 1. This is the exact scenario issue #37399 (this PR's own motivation) reports with "Dataframe index" enabled. - MySQL caps identifiers at 64 characters; pandas names the constraint f"{table_name}_pk", which overflows for a long (but otherwise valid) MySQL table name and makes the CREATE TABLE fail outright. MySQL renames PRIMARY KEY constraints to "PRIMARY" internally regardless of the name given in DDL, so a short fixed name is safe. Both fixed at the same insertion point, right before SQLTable.create(). New tests compile the actual table object against SQLAlchemy's MySQL dialect (no live server available) and confirm both regressions -- reverting just the source change makes both fail. Note: append-after-create (a second upload to an existing PK'd table) is a separate, real gap this PR doesn't cover -- it needs a product decision on append semantics (regenerate keys vs. shift by existing max), not a mechanical patch, so leaving that to a follow-up. --no-verify: the pre-commit git hook itself is currently broken on this host (/usr/bin/git's internal xcrun call fails with a libxcrun.dylib architecture mismatch, unrelated to this change) -- already ran `pre-commit run --files superset/db_engine_specs/mysql.py tests/unit_tests/db_engine_specs/test_mysql.py` directly moments earlier and every hook (mypy, ruff, ruff-format, pylint, db-engine-spec metadata validation) passed clean. Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
Pushed a fix for two of the issues Copilot flagged: the synthesized key was getting an unintended AUTO_INCREMENT from SQLAlchemy's MySQL DDL compiler (collides with the promoted-index case's row 0), and the constraint name could blow past MySQL's 64-char identifier limit. Both fixed with tests. Append-after-create is still an open gap though. The primary-key logic only runs when |
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Code Review Agent Run #93f949Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
Copilot's still flagging three real issues I'll see about tackling: the session-scoped var read misses servers where |
Read sql_require_primary_key from GLOBAL rather than SESSION scope, since a pooled connection opened before an admin flips the setting keeps its stale session value for its lifetime. Fall back to a synthesized primary key when the DataFrame index isn't unique or has nulls, since a CSV/Excel upload can point the "Dataframe index" option at a column with neither guarantee. Normalize existing column names before choosing the synthesized key name, since MySQL compares column identifiers case-insensitively. Co-Authored-By: Claude Sonnet 5 <[email protected]>
…eedback" This reverts commit e4e0c36.
There was a problem hiding this comment.
Code Review Agent Run #c90edb
Actionable Suggestions - 2
-
superset/db_engine_specs/mysql.py - 2
- Index PK regression · Line 605-605
- Case-insensitive PK collision · Line 609-610
Additional Suggestions - 1
-
superset/db_engine_specs/mysql.py - 1
-
Session var stale on pooled conn · Line 560-560Reading `@@session` instead of `@@global` reverses the removed comment's rationale: a pooled connection opened before a `SET GLOBAL` keeps the stale session value, so the probe may report 'not required' while the write connection enforces it, failing CREATE TABLE with 3750. Consider keeping `@@global`.
-
Review Details
-
Files reviewed - 2 · Commit Range:
80895e0..07aae85- superset/db_engine_specs/mysql.py
- tests/unit_tests/db_engine_specs/test_mysql.py
-
Files skipped - 0
-
Tools
- MyPy (Static Code Analysis) - ✔︎ Successful
- Astral Ruff (Static Code Analysis) - ✔︎ Successful
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review- Manually triggers an incremental AI Review. -
/review full- Manually triggers a full AI Review. -
/pause- Pauses automatic reviews on this pull request. -
/resume- Resumes automatic reviews. -
/resolve- Marks all Bito-posted review comments as resolved. -
/abort- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at [email protected].
Documentation & Help
| if creating_table and cls._requires_primary_key(engine): | ||
| index = to_sql_kwargs.get("index", True) | ||
| index_label = to_sql_kwargs.get("index_label") | ||
| if index: |
There was a problem hiding this comment.
Dropping df.index.is_unique and not df.index.hasnans promotes a non-unique/NaN index straight to PRIMARY KEY (keys=[primary_key]), so the INSERT fails with MySQL 1062/1048 instead of falling back to a synthesized key. The deleted test test_df_to_sql_falls_back_to_synthesized_key_for_non_unique_index covered exactly this. Restore the guard.
Code suggestion
Check the AI-generated fix before applying
| if index: | |
| if index and df.index.is_unique and not df.index.hasnans: |
Code Review Run #c90edb
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- Yes, avoid them
| primary_key = "id" | ||
| while primary_key in df.columns: |
There was a problem hiding this comment.
while primary_key in df.columns is case-sensitive, but MySQL column names are case-insensitive, so a synthesized id key no longer avoids an existing ID column and CREATE TABLE fails with 1060. The deleted test_df_to_sql_synthesized_key_avoids_case_insensitive_collision verified this. Restore the lowercased existing_columns check.
Code suggestion
Check the AI-generated fix before applying
| primary_key = "id" | |
| while primary_key in df.columns: | |
| existing_columns = {col.lower() for col in df.columns} | |
| primary_key = "id" | |
| while primary_key.lower() in existing_columns: |
Code Review Run #c90edb
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- Yes, avoid them
rusackas
left a comment
There was a problem hiding this comment.
Heya, this looks right for the main case in #37399 -- traced the autoincrement/constraint-name handling against the tests and it checks out, and I confirmed the @@session.sql_require_primary_key thread you all dismissed was actually a false alarm (that variable's session+global scoped, verified against the docs).
Couple of things worth a look before merge, though: both copilot and bito flagged that a non-unique or NaN-containing pandas index gets promoted straight to PRIMARY KEY with no is_unique/hasnans guard, and that the synthesized id column's collision check is case-sensitive while MySQL compares columns case-insensitively. Neither breaks the common path, but they'd turn into a confusing insert failure for someone with messier data. Want those guarded before this merges, if it's a quick add?
…ue index and case-insensitive collision Restores two of the three fixes requested in rusackas's 2026-09-28 review on #44411: promoting a non-unique or NaN-containing pandas index straight to PRIMARY KEY made the MySQL INSERT fail with a duplicate/NULL error instead of falling back to the synthesized key, and the synthesized "id" key's collision check was case-sensitive even though MySQL compares column identifiers case-insensitively. The @@session vs @@global sql_require_primary_key change from an earlier revision (e4e0c36, reverted in 07aae85) is intentionally left out: the same rusackas review explicitly dismissed that as a false alarm after verifying it against MySQL's docs, so re-applying it here would reverse his own stated decision on this PR. Co-Authored-By: Evan Rusackas <[email protected]> Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
Code Review Agent Run #04eed8
Actionable Suggestions - 2
-
superset/db_engine_specs/mysql.py - 2
- PK name collision guard missing · Line 613-616
- Silent index drop without logging · Line 613-616
Additional Suggestions - 2
-
tests/unit_tests/db_engine_specs/test_mysql.py - 2
-
Inline imports violate rule 12745 · Line 696-701Lines 696-701 and 743-748 import `pandas`, `sqlalchemy`, `MySQLEngineSpec`, and `Table` inside the test bodies. BITO.md rule 12745 allows inline imports only for documented circular dependencies; none applies here (pandas/SQLAlchemy are third-party, and sibling specs tests import at module level). Hoisting these to the module header keeps the convention and trims each test body.
-
Duplicated mock scaffolding · Line 706-712This adds two more copies of the ~10-line `get_engine`/`_requires_primary_key` mock scaffolding; `grep -c` counts 7 identical instances in this file with no shared fixture. Extracting a contextmanager or pytest fixture yielding the sqlite engine would keep new tests short and prevent divergence — e.g. a copy forgetting `__exit__.return_value = False` silently breaks the `with` cleanup contract.
-
Review Details
-
Files reviewed - 2 · Commit Range:
07aae85..a235bfd- superset/db_engine_specs/mysql.py
- tests/unit_tests/db_engine_specs/test_mysql.py
-
Files skipped - 0
-
Tools
- MyPy (Static Code Analysis) - ✔︎ Successful
- Astral Ruff (Static Code Analysis) - ✔︎ Successful
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review- Manually triggers an incremental AI Review. -
/review full- Manually triggers a full AI Review. -
/pause- Pauses automatic reviews on this pull request. -
/resume- Resumes automatic reviews. -
/resolve- Marks all Bito-posted review comments as resolved. -
/abort- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at [email protected].
Documentation & Help
| promote_index = ( | ||
| bool(index) and df.index.is_unique and not df.index.hasnans | ||
| ) | ||
| if promote_index: |
There was a problem hiding this comment.
The new fallback guards case-insensitive column collisions, but the promote path does not: with index_label/df.index.name like "ID" and an existing "id" column, SQLTable.insert_data reset_index only rejects exact (case-sensitive) duplicates, so CREATE TABLE gets both names and MySQL fails with error 1060. Extend promote_index with the same existing_columns check the else branch uses.
When the index has duplicates or NULLs, promote_index becomes False and line 635 writes index=False, silently dropping the column the uploader's "Dataframe index" option asked for. The old code failed loudly; now the omission is invisible. Log a warning in the else fallback so users can tell why the index column is missing.
Code Review Run #04eed8
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- Yes, avoid them
…e collision Bito flagged that the promote_index path did not check for a case-insensitive name collision with an existing column, unlike the synthesized-key fallback -- pandas' SQLTable only rejects exact (case-sensitive) duplicates when resetting the index, so promoting a colliding index name would let a CREATE TABLE reach MySQL with two columns it treats as the same identifier (error 1060). Also log a warning when the index is silently dropped instead of promoted, since the prior behavior gave no signal why the "Dataframe index" option's column went missing. Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
Code Review Agent Run #0c82c8
Actionable Suggestions - 1
-
tests/unit_tests/db_engine_specs/test_mysql.py - 1
- Duplicated test setup and call · Line 800-800
Review Details
-
Files reviewed - 2 · Commit Range:
a235bfd..8147b07- superset/db_engine_specs/mysql.py
- tests/unit_tests/db_engine_specs/test_mysql.py
-
Files skipped - 0
-
Tools
- MyPy (Static Code Analysis) - ✔︎ Successful
- Astral Ruff (Static Code Analysis) - ✔︎ Successful
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review- Manually triggers an incremental AI Review. -
/review full- Manually triggers a full AI Review. -
/pause- Pauses automatic reviews on this pull request. -
/resume- Resumes automatic reviews. -
/resolve- Marks all Bito-posted review comments as resolved. -
/abort- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at [email protected].
Documentation & Help
| df = pd.DataFrame({"id": [1, 2, 3], "b": ["x", "y", "z"]}) | ||
| df.index.name = "ID" | ||
|
|
||
| with ( |
There was a problem hiding this comment.
There is duplicated code in the test file. The same pattern of mocking MySQLEngineSpec and calling df_to_sql appears at lines 800-812, 607-619, 706-718, 563-574, and 753-764. Consider creating a shared helper or fixture to avoid repetition and improve maintainability.
Code Review Run #0c82c8
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- Yes, avoid them
…aN index Collapse the mock/patch/df_to_sql scaffolding that was repeated across the MySQL primary-key upload tests into one `_upload_requiring_primary_key` helper, and add the missing half of the promoted-index guard's coverage: an index whose values are all distinct but include a missing one is `is_unique` yet `hasnans`, so only the NaN half of the guard keeps it off the PRIMARY KEY. Without that half the INSERT fails with a NOT NULL violation (MySQL 1048). Co-Authored-By: Claude Opus 5 <[email protected]>
Code Review Agent Run #5bc251Actionable Suggestions - 0Additional Suggestions - 1
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
# Conflicts: # tests/unit_tests/db_engine_specs/test_mysql.py
* fix(echarts): fix sparse sub-daily bar sizing and x-axis mislabeling (apache#44628) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(mysql): require TLS when SSL is requested (apache#44723) * fix(dynamodb): render time bounds as ISO 8601 so sub-day ranges match stored timestamps (apache#44702) * fix(opensearch): page drill-to-detail samples with the OpenSearch SQL response format (apache#44703) * fix(gsheets): pass the OAuth2 token and delegation subject through connect_args (apache#44709) * fix(databricks): stop the string-type patch writing SQLAlchemy's shared colspecs (apache#44707) * fix(oracle): map Oracle NUMBER, BINARY_FLOAT/DOUBLE and CLOB column types (apache#44685) Co-authored-by: Daniel Vaz Gaspar <[email protected]> * chore(deps): bump undici from 7.29.0 to 7.30.0 in /superset-frontend in the security group across 1 directory (apache#44809) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Đỗ Trọng Hải <[email protected]> * chore(deps): bump react-window from 2.3.2 to 2.3.3 in /superset-frontend (apache#44820) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(datafusion): render temporal SQL that DataFusion accepts (apache#44700) * fix(db2): set current_schema to the catalog name of the selected schema (apache#44706) * chore(deps): bump brace-expansion from 5.0.9 to 5.0.12 in /superset-frontend/cypress-base (apache#44813) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * perf(security): memoise the user subject lookup within a request (apache#44017) Co-authored-by: Shaurya <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * refactor(mcp): one plugin lifecycle contract and compact chart config schemas (apache#44746) * fix(doris): quarter grain, SSL toggle, parameters URI, error mapping and column types (apache#44718) * chore(deps): bump the security group across 1 directory with 2 updates (apache#44824) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test(semantic-views): wait for views refetches to settle before selecting a view (apache#44792) * chore(build): remove unused dependencies in `docs` and `superset-frontend` (apache#44697) Signed-off-by: hainenber <[email protected]> * chore(deps): bump the security group across 1 directory with 2 updates (apache#44831) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: avoid provider calls when rendering datasource access denials (apache#44432) * fix(csv-import): add primary key when MySQL requires one (apache#44411) Co-authored-by: Claude Opus 5 <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(mcp): align histogram and waterfall query contracts (apache#44744) * ci(python): run the Python-next canary nightly, bump to 3.13 (apache#44767) Co-authored-by: Claude Sonnet 5 <[email protected]> * chore(deps): bump dompurify from 3.4.15 to 3.4.16 in /superset-frontend in the security group across 1 directory (apache#44830) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(matrixify): fan metrics-axis selection into multi-query fields (apache#44629) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(sqllab): ignore non-object template_params in format_sql instead of 500 (apache#44826) Co-authored-by: Claude Opus 4.6 <[email protected]> * fix(core): stop discarding API errors that quote an HTML tag (apache#42489) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(i18n): make babel_update.sh .pot normalization actually run (apache#44395) * fix(sql): reject client-side file-transfer statements in query execution (apache#44496) Co-authored-by: Claude Opus 4.8 <[email protected]> Co-authored-by: Amin Ghadersohi <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(sqllab): preserve exact decimals in results and exports (apache#44739) * fix(exasol): classify common server errors (apache#44721) * fix(elasticsearch): classify byte, short, half_float, scaled_float and unsigned_long columns (apache#44713) * fix(db2): accept sqlglot's parse_mod in the DB2 term parser (apache#44708) * fix(databricks): keep the user's OAuth2 token and extra connect_args; re-auth on HTTP 401 (apache#44705) * fix(gsheets): align service-account validation and serialize upload dates (apache#44695) * fix(mcp): prioritize exact tool names in BM25 search (apache#44682) * test(embedded-sdk): cross-document test rig for the navigation fix (apache#44608) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(auth): drain flash messages on the login page (apache#44605) * fix(gantt): prevent y-axis category labels from being clipped (apache#44321) * fix(auth): remove the legacy FAB password reset views and move password resets into the SPA (apache#44626) Co-authored-by: jayvenn21 <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]> * fix: increase dataset edit modal size (apache#38215) (apache#39257) Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com> Co-authored-by: rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(doris): offer the connection form by matching the installed driver (apache#44736) * chore(deps): bump @googleapis/sheets from 18.0.0 to 18.0.1 in /superset-frontend (apache#44862) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump github/codeql-action/analyze from 4.38.1 to 4.38.2 (apache#44861) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump github/codeql-action/upload-sarif from 4.38.1 to 4.38.2 (apache#44859) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: add sadpandajoe as a codeowner for .asf.yaml (apache#44855) Co-authored-by: Claude Sonnet 5 <[email protected]> * chore: drop cypress-matrix-required from required status checks (apache#44854) Co-authored-by: Claude Sonnet 5 <[email protected]> * chore(deps): bump github/codeql-action/init from 4.38.1 to 4.38.2 (apache#44860) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Li <[email protected]> * chore(e2e): remove Cypress infrastructure (apache#44829) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * fix(oauth2): refresh a token rejected when a connection opens (apache#44765) * feat(table): add multi-level column header groups (apache#43938) Co-authored-by: Cursor <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * fix(mcp): enforce tool deadlines without blocking the server (apache#44581) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * test(playwright): select existing dashboards without creating duplicates (apache#44856) * feat(mcp): support tab-scoped dashboard layouts (apache#44797) * fix: size 'Drill to detail' table header correctly (apache#44807) * fix(mcp): use DEFAULT_PAGE_SIZE constant in list_charts test (apache#44786) * fix(mcp): keep a bubble chart's colors and row limit across updates (apache#44618) Co-authored-by: Greg Neighbors <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]> * fix(frontend): use html2canvas for chart image export on Safari (apache#44529) * chore(deps): bump deck.gl and luma.gl from 9.2.5 to 9.4.0 in /superset-frontend (apache#42608) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(home): redirect users without an ID before rendering (apache#44456) * chore(deps-dev): update google-cloud-storage requirement from >=1.37 to >=3.14.1 (apache#44693) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(mcp): enforce dashboard filter scope on dataset, SQL and chart tool calls (apache#44800) * fix(postprocessing): preserve NULL index values through pivot() (apache#43547) (apache#43693) Co-authored-by: Copilot Autofix powered by AI <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(mcp): execute_sql request limit caps, never raises, an explicit SQL LIMIT (apache#44604) Co-authored-by: Claude Opus 5.5 <[email protected]> * ci: require babel-extract to pass before merging master (apache#44543) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(mcp): report a chart's live dataset id and name (apache#44681) * fix(retention): skip models without purge policies before scanning (apache#44874) * fix(semantic-layers): export/import semantic-view charts by typed reference (apache#44396) * fix(semantic-layer): require explicit member identity reselection (apache#44370) * fix(logging): register LogRestApi only once (apache#44732) * chore(deps-dev): bump baseline-browser-mapping from 2.11.25 to 2.11.26 in /superset-frontend (apache#44890) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump dompurify from 3.4.15 to 3.4.16 in /superset-frontend (apache#44889) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump dom-to-image-more from 3.10.2 to 3.11.0 in /superset-frontend (apache#44888) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump maplibre-gl from 6.8.0 to 6.11.2 in /superset-frontend (apache#44887) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump minimizer-webpack-plugin from 5.11.0 to 5.12.0 in /superset-frontend (apache#44886) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump webpack-sources from 3.5.1 to 3.5.3 in /superset-frontend (apache#44885) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxlint-tsgolint from 7.0.2002 to 7.0.2003 in /docs (apache#44883) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxlint-tsgolint from 7.0.2002 to 7.0.2003 in /superset-websocket (apache#44882) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(superset-ui-chart-controls): forward-compat fixes for TypeScript 6.0 (apache#44877) Co-authored-by: Claude Sonnet 5 <[email protected]> * feat(export/import): add annotation layer export/import support for charts and dashboards (apache#43232) Co-authored-by: rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> * fix(users): stop update_me setting self-referential changed_by_fk (apache#44866) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * chore(deps): bump dawidd6/action-download-artifact from 24 to 25 (apache#44884) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(build): de-vendor `helm/chart-testing-action` GHA (apache#44722) Signed-off-by: hainenber <[email protected]> * fix(ci): floor pyfakefs at 5.7.4 to fix Python 3.13 pytest-cov crash (apache#44853) Co-authored-by: Claude Opus 5 <[email protected]> * docs(databases): add ClickHouse Managed Postgres (apache#44870) Co-authored-by: Đỗ Trọng Hải <[email protected]> * test(explore): cover time range frames, comparison labels, and metric popover state (apache#44847) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(change-detector): classify changed files by language, not directory (apache#44895) * chore(mcp): fix malformed tool and prompt docstrings (apache#44572) Co-authored-by: Claude Opus 5 <[email protected]> * feat(chart): cross-filter by x-axis label on charts with dimensions (apache#44869) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(explore): cover color scheme selection, BigNumber subheader/trendline, and WorldMap bubbles (apache#44846) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(plugin-chart-table): cover server-side sort, query mode controls, and sort ordering (apache#44845) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(explore): cover viz switch and control dependency logic (apache#44842) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(explore): add fetchTopNValues unit tests (apache#44841) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test(explore): add saveModalReducer unit tests (apache#44839) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * fix(dashboard): show the configured refresh warning alongside the limit error (apache#44836) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test(explore): add datasourcesReducer unit tests (apache#44840) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test(explore): port remaining deleted Cypress explore specs to RTL (apache#44838) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(frontend): await the userEvent calls that needed restructuring (apache#44799) * fix(chart): wrap raw pandas TypeError/DataError from post-processing as QueryObjectValidationError (apache#44463) * fix(reports): catch TypeError when validating non-string extra.dashboard.anchor (apache#44404) Co-authored-by: Claude Opus 4.8 <[email protected]> * fix(import): avoid UnboundLocalError when load_yaml fails during load_configs (SC-121288) (apache#44390) Co-authored-by: Claude Opus 4.8 <[email protected]> * fix(api): return 401 not 500 for auth errors in CurrentUserRestApi (SC-120417) (apache#44213) * fix(security): guard is_guest_user against NoAuthorizationError on unauthenticated error paths (apache#43826) Co-authored-by: Claude Opus 4.8 <[email protected]> * fix: downgrade deprecated query_object field warnings to info (apache#43520) * docs: remove stale Selenium references after Playwright-only switch (apache#44243) * fix(mcp): include feature_availability in instance://metadata resource (apache#44891) * fix(echarts): recognize Date and ISO-string temporal x-axis values in getXAxisDomain (apache#44818) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(native-filters): keep cascade dependency gate in sync with live filter type (apache#44366) Co-authored-by: Superset Dev <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * feat(ci): add Chromatic visual regression testing for Storybook (apache#44103) Co-authored-by: Claude Code <[email protected]> * fix(mcp): skip dashboard live updates when websockets are disabled or realtime access is missing (apache#44796) * test(dashboard): cover "View as table" end-to-end for a view-as-table-only role (apache#44881) Co-authored-by: Claude Sonnet 5 <[email protected]> * test(clickhouse): cover GROUP BY ALL against a real instance (apache#40482) (apache#44879) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(sec): sanitize HTML text before shown as impact item's label (apache#43825) * fix(chart): accept quarter and day in end-of time ranges (apache#43204) * fix(sql-lab): avoid duplicate generated result column names (apache#44189) * fix(chart): sort Heatmap Y-axis by default when unset (apache#44588) Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(select): remove Space wrapper from optionRender to fix option label truncation (apache#44357) * fix(sql-lab): use function valueGetter for GridTable row numbers (apache#41574) Co-authored-by: chenshaobo <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(mcp): stop partial-update tools from advertising null defaults (apache#44573) Co-authored-by: Claude Opus 5 <[email protected]> * fix(cartodiagram): share Pie colors across locations in Explore (apache#44794) * fix(mcp): use create_proxy in simple_proxy for fastmcp 4 compatibility (apache#44787) * fix(post-processing): stop treating gaps as zero for cumprod, cummin and cummax (apache#44828) * fix(import): remove duplicate config redefinition in load_configs (apache#44932) Co-authored-by: Claude Sonnet 5 <[email protected]> * perf(deletion-retention): one window pass for repeat predicate (apache#44349) * chore(deps): bump markdown from 3.10.3 to 3.11 (apache#44941) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps-dev): update google-cloud-storage requirement from >=3.14.1 to >=3.15.0 (apache#44940) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump cachetools from 7.1.8 to 7.2.0 (apache#44939) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps-dev): update databricks-sql-connector requirement from <4.6.0,>=4.5.0 to >=4.6.0,<4.7.0 (apache#44937) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump holidays from 0.104 to 0.105 (apache#44936) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps): bump sqlglot from 30.18.0 to 30.19.0 (apache#44935) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps-dev): bump clickhouse-connect from 1.8.0 to 1.9.0 (apache#44934) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(mcp): preserve calling constraints in compact tool discovery (apache#44656) Co-authored-by: Claude Opus 5.5 <[email protected]> * feat: Add GUI for label_colors in Dashboard Properties Modal (apache#39434) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Jay Masiwal <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * test(opensearch): cover pagination and Content-Type regression against a real instance (apache#44924) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(frontend): finish migrating off direct antd imports, enforce it in custom rules (apache#44927) Co-authored-by: Claude Sonnet 5 <[email protected]> * test(mysql): cover require_mysql_tls fail-closed and verified-TLS paths (apache#44910) Co-authored-by: Claude Sonnet 5 <[email protected]> * test(oracle): cover cancel-query against a real running statement (apache#44908) Co-authored-by: Claude Sonnet 5 <[email protected]> * test(cratedb): cover epoch-ms timestamp decoding against a real instance (apache#44904) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(deps): restore dompurify 3.4.16 in frontend lockfile (apache#44960) * fix(mypy): ignore false-positive union-attr on Slice.uuid.in_() (apache#44944) Co-authored-by: Claude Sonnet 5 <[email protected]> * docs(mcp): document semantic-layer MCP tools (apache#44130) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(dataset-editor): preserve edits across sort and sync external SQL changes (apache#44858) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(sqlite): write midnight as a bare date for DATE columns in time filters (apache#44805) Co-authored-by: Amin Ghadersohi <[email protected]> * chore(deps): bump dawidd6/action-download-artifact from 25 to 26 (apache#44977) * chore(deps): bump chromaui/action from 18.7.3 to 18.10.1 (apache#44973) * chore(deps-dev): bump postcss-styled-syntax from 0.7.2 to 0.7.3 in /superset-frontend (apache#44980) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 26.6.2 to 26.6.3 in /superset-frontend (apache#44979) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump webpack-sources from 3.5.3 to 3.6.0 in /superset-frontend (apache#44978) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump chalk from 6.0.0 to 6.0.1 in /superset-frontend (apache#44976) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump vitest from 5.0.1 to 5.0.2 in /superset-embedded-sdk (apache#44974) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 26.6.2 to 26.6.3 in /superset-embedded-sdk (apache#44972) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 26.6.2 to 26.6.3 in /superset-websocket (apache#44971) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump vitest from 5.0.1 to 5.0.2 in /superset-websocket (apache#44970) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump ws from 8.21.3 to 8.22.0 in /superset-websocket (apache#44969) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: remove unused INCLUDE_FIREFOX build arg and dead screenshot config (apache#44245) * fix(explore): preserve pending column configuration edits (apache#44931) * fix(mcp): return actionable authorized column suggestions (apache#44603) * chore(deps-dev): bump the swc group in /superset-frontend with 2 updates (apache#44975) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(build): remove unused `polyline` Python dep (apache#44961) * fix: full CSV download in AgGrid (apache#41696) Co-authored-by: rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * feat(mcp): support filter_range and filter_timegrain filters (apache#44893) * fix(models): silence pandas silent-downcasting FutureWarning in normalize_df (apache#44897) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * fix(mcp): avoid duplicate SQL execution results (apache#44949) * fix(charts): return 404 when chart export hits an inaccessible dataset (apache#44900) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * fix(mcp): allow bounding dashboard dataset columns (apache#44951) * feat(mcp): return the Big Number headline from chart and dashboard data (apache#44948) * fix(logging): stop logging tracebacks for client-side HTTP errors (apache#44666) * fix(ag-grid-table): refresh totals when summary aggregation changes (apache#44612) * feat(ci): conditionally run CodeQL analysis workflows only when there are detected JS/Python file changes (apache#44699) * fix(embedded): refuse guest row-level security on semantic views (apache#44987) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Mike Bridge <[email protected]> * chore(deps-dev): bump oxlint from 1.85.0 to 1.86.0 in /superset-websocket (apache#45005) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ag-grid-table): expand JSON values in table cells (apache#44907) Co-authored-by: Enzo Martellucci <[email protected]> * chore(i18n): update pt/pt_BR translations and rebuild translation index (apache#43022) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Israel Demetrios Diacov <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(dashboards): close CSS validation gaps in dashboard import and edits (apache#43666) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(themes): overwrite-import guard, missing index, dedupe extra_editors (follow-up to apache#42404) (apache#44362) Co-authored-by: Claude Code <[email protected]> * feat(bignumber): add an alignment control (apache#44554) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(reports): propagate force flag to dashboard-tab permalink report URLs (apache#44775) Co-authored-by: Ferjani Nasraoui <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]> * refactor(list-view): eliminate any usage in ListView.tsx and TableCollection (apache#44208) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(dashboard,explore): wire addWarningToast into download callers (apache#44154) Co-authored-by: Claude Sonnet 5 <[email protected]> * chore(deps): bump the rjsf group in /superset-frontend with 3 updates (apache#45004) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Li <[email protected]> * chore(deps-dev): bump @swc/core from 1.16.2 to 1.16.12 in /superset-frontend in the swc group (apache#45012) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @swc/core from 1.16.2 to 1.16.12 in /docs (apache#45008) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump source-map-js from 1.2.1 to 1.2.2 in /superset-websocket in the security group across 1 directory (apache#45028) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: add global async query playwright tests (apache#43004) Co-authored-by: Claude Fable 5 <[email protected]> * fix(table): omit dormant grains from semantic aggregate requests (apache#44455) * fix(semantic-layers): offer valid table ordering choices (apache#44806) Co-authored-by: Mike Bridge <[email protected]> * fix(semantic-layers): remove child view permissions when a layer is deleted (apache#44905) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * chore(deps): bump proxy-addr from 2.0.7 to 2.0.8 in /superset-websocket/utils/client-ws-app in the security group across 1 directory (apache#45027) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump dawidd6/action-download-artifact from 26 to 27 (apache#45011) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump source-map-js from 1.2.1 to 1.2.2 in /superset-embedded-sdk in the security group across 1 directory (apache#45024) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(pivot-table): respect per-metric formatters in result aggregation (apache#44815) Co-authored-by: Evan Rusackas <[email protected]> * fix(query-context): match an adhoc granularity_sqla by its expression (apache#44773) * feat(mcp): allow default values on filter_select native filters (apache#44985) * feat(mcp): add structured dashboard text component management (apache#44560) * fix(explore): avoid mutating ZoomConfigControl configs (apache#44957) Co-authored-by: Cursor <[email protected]> * test(frontend): await remaining userEvent calls and lint for un-awaited ones (apache#44947) * fix(explore): open SQL Lab in a new tab on Ctrl+click in View query modal (apache#44933) * chore(deps): bump the security group across 1 directory with 9 updates (apache#45026) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the security group across 1 directory with 6 updates (apache#45025) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump wait-on from 9.1.0 to 9.4.0 in /superset-frontend (apache#45015) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxlint from 1.85.0 to 1.86.0 in /superset-frontend (apache#45014) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxlint from 1.85.0 to 1.86.0 in /docs (apache#45009) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump the typescript-eslint group in /superset-frontend with 2 updates (apache#45007) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxfmt from 0.70.0 to 0.71.0 in /superset-websocket (apache#45006) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(mcp): support filter-bar dividers in manage_native_filters (apache#45021) * fix(mcp): state that dataset tools are SQL-only and point to semantic tools (apache#44994) Co-authored-by: Mike Bridge <[email protected]> * fix(dashboards): return 404 when dashboard export hits an inaccessible chart or dataset (apache#44929) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * feat(semantic): add optional metadata refresh SDK contract (apache#44834) Signed-off-by: Mike Bridge <[email protected]> * fix(semantic): map layer views as a collection (apache#44902) * feat(retention): let a host install purge policies for its own soft-delete roots (apache#44892) * fix(semantic): reject SQL clauses on semantic views (apache#44899) * fix(security): bind contextual access checks to the datasource type and id (apache#45002) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Mike Bridge <[email protected]> * fix(permalink): handle concurrent creation of identical dashboard permalinks (apache#45059) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * chore(deps-dev): bump @types/ws from 8.18.1 to 8.18.2 in /superset-websocket (apache#45045) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the storybook group in /docs with 2 updates (apache#45046) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump the storybook group in /superset-frontend with 5 updates (apache#45047) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(post-processing): stop duplicating columns in _append_columns (apache#45018) * feat(plugin-chart-echarts): add a value axis label control (apache#43660) * fix(layout): restore growable app shell so injected content above #app doesn't clip it (apache#45056) Co-authored-by: Claude Sonnet 5 <[email protected]> * feat(pivot-table): collapse row groups by default (apache#45030) * fix(versioning): refuse a chart restore whose datasource no longer exists (apache#44925) * fix(semantic): hide and ignore series limits that have no series columns (apache#44909) Co-authored-by: Mike Bridge <[email protected]> * fix(async): show the real error for a failed async chart query (apache#45054) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(semantic-layer): show provider queries from chart results (apache#44206) Co-authored-by: Mike Bridge <[email protected]> * perf(security): batch dashboard fallback datasource resolution (apache#44993) Co-authored-by: Mike Bridge <[email protected]> * fix(mcp): refuse changes to externally managed dashboards in all dashboard tools (apache#45062) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(versioning): preserve history across savepoint rollback (apache#45033) * fix(cache): evict rejected cached GET requests (apache#45055) * fix(semantic): return a client error for unsupported time grains (apache#45053) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * chore(deps-dev): bump vitest from 5.0.2 to 5.0.3 in /superset-websocket (apache#45072) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: add DouroECI logo and contributor to In the Wild (apache#45096) Co-authored-by: José Henrique <[email protected]> * fix(charts): clear perms of charts whose datasource no longer exists (apache#44926) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * fix(date_parser): use pyparsing snake_case API to silence PyparsingDeprecationWarning (apache#45094) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * fix(mcp): don't page MCP_ERROR_HOOK for user-class errors in the last-resort catch (SC-125493) (apache#45093) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * feat: SIP-209 Improved Alerts & Reports (apache#44992) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(ci): configure more grouped dep upgrades across npm subprojects (apache#44696) Signed-off-by: hainenber <[email protected]> * fix(explore): skip Ctrl/Cmd+Enter query while controls have errors or chart is loading (apache#44963) * fix(explore): show 0 zoom, latitude and longitude in the map view extent tag (apache#44962) Co-authored-by: Joe Li <[email protected]> * fix(explore): honor a controlled ControlPopover open prop (apache#44959) * fix(native-filters): show a clear error instead of "Network error" when filter values fail to load (apache#44585) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(explore): dispatch datasource metadata fetch (apache#44958) * fix(semantic-layer): fail incomplete or unverified semantic query results (apache#44832) * fix(dashboard): refresh semantic metadata across edits (apache#45052) Co-authored-by: Mike Bridge <[email protected]> * chore: Update CODEOWNERS to include @sadpandajoe (apache#45120) * feat(mcp): add typed Sunburst chart support (apache#43771) * fix(semantic-layer): require write access for configuration schema enrichment (apache#45107) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(dashboard): wait for async submenu and debounced validation in flaky tests (apache#45106) Co-authored-by: Mike Bridge <[email protected]> * fix(datasets): accept certification fields on dataset column and metric PUT (apache#45091) * chore(deps): bump chromaui/action from 18.10.1 to 18.10.2 (apache#45134) --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: hainenber <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Mike Bridge <[email protected]> Co-authored-by: Joe Li <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Amin Ghadersohi <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Đỗ Trọng Hải <[email protected]> Co-authored-by: shaurya <[email protected]> Co-authored-by: Shaurya <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Sepuri Sai Krishna <[email protected]> Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Gaurav Dubey <[email protected]> Co-authored-by: Gaston Laterza <[email protected]> Co-authored-by: Shaitan <[email protected]> Co-authored-by: chadek <[email protected]> Co-authored-by: 47th <[email protected]> Co-authored-by: jayvenn21 <[email protected]> Co-authored-by: Vikash Kumar <[email protected]> Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com> Co-authored-by: SBIN2010 <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> Co-authored-by: mattmc3 <[email protected]> Co-authored-by: Viktor Högberg <[email protected]> Co-authored-by: Greg Neighbors <[email protected]> Co-authored-by: Greg Neighbors <[email protected]> Co-authored-by: hadi mobarra <[email protected]> Co-authored-by: Bexultan <[email protected]> Co-authored-by: Archita-kale <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]> Co-authored-by: Mallikarjuna Reddy Nimmakayala <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> Co-authored-by: Younes Beriane <[email protected]> Co-authored-by: Alasdair Brown <[email protected]> Co-authored-by: Krishna kumar singh <[email protected]> Co-authored-by: Luiz Otavio <[email protected]> Co-authored-by: Sam Firke <[email protected]> Co-authored-by: Superset Dev <[email protected]> Co-authored-by: Dennis Khylkouski <[email protected]> Co-authored-by: Piyush Raj <[email protected]> Co-authored-by: hahaok <[email protected]> Co-authored-by: chenshaobo <[email protected]> Co-authored-by: Nguyen Dang Trung Tien <[email protected]> Co-authored-by: Endi Monan <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jay Masiwal <[email protected]> Co-authored-by: Jay Masiwal <[email protected]> Co-authored-by: Daniel Alyoshin <[email protected]> Co-authored-by: Amin Ghadersohi <[email protected]> Co-authored-by: Minwook Shin <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Rafael Benitez <[email protected]> Co-authored-by: Israel Demetrios Diacov <[email protected]> Co-authored-by: Israel Demetrios Diacov <[email protected]> Co-authored-by: Ferjani Nasraoui <[email protected]> Co-authored-by: drivaspreset <[email protected]> Co-authored-by: Abhinav <[email protected]> Co-authored-by: Trakshan Mishra <[email protected]> Co-authored-by: Amogh Atreya <[email protected]> Co-authored-by: Divyansh Yadav <[email protected]> Co-authored-by: Alexandru Soare <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: rlei <[email protected]> Co-authored-by: J0s3-H3nr1qu3 <[email protected]> Co-authored-by: José Henrique <[email protected]> Co-authored-by: Vitor Avila <[email protected]> Co-authored-by: Mayuri <[email protected]> Co-authored-by: Mehmet Salih Yavuz <[email protected]>
* refactor(mcp): one plugin lifecycle contract and compact chart config schemas (apache#44746) * fix(doris): quarter grain, SSL toggle, parameters URI, error mapping and column types (apache#44718) * chore(deps): bump the security group across 1 directory with 2 updates (apache#44824) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test(semantic-views): wait for views refetches to settle before selecting a view (apache#44792) * chore(build): remove unused dependencies in `docs` and `superset-frontend` (apache#44697) Signed-off-by: hainenber <[email protected]> * chore(deps): bump the security group across 1 directory with 2 updates (apache#44831) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: avoid provider calls when rendering datasource access denials (apache#44432) * fix(csv-import): add primary key when MySQL requires one (apache#44411) Co-authored-by: Claude Opus 5 <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(mcp): align histogram and waterfall query contracts (apache#44744) * ci(python): run the Python-next canary nightly, bump to 3.13 (apache#44767) Co-authored-by: Claude Sonnet 5 <[email protected]> * chore(deps): bump dompurify from 3.4.15 to 3.4.16 in /superset-frontend in the security group across 1 directory (apache#44830) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(matrixify): fan metrics-axis selection into multi-query fields (apache#44629) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(sqllab): ignore non-object template_params in format_sql instead of 500 (apache#44826) Co-authored-by: Claude Opus 4.6 <[email protected]> * fix(core): stop discarding API errors that quote an HTML tag (apache#42489) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(i18n): make babel_update.sh .pot normalization actually run (apache#44395) * fix(sql): reject client-side file-transfer statements in query execution (apache#44496) Co-authored-by: Claude Opus 4.8 <[email protected]> Co-authored-by: Amin Ghadersohi <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(sqllab): preserve exact decimals in results and exports (apache#44739) * fix(exasol): classify common server errors (apache#44721) * fix(elasticsearch): classify byte, short, half_float, scaled_float and unsigned_long columns (apache#44713) * fix(db2): accept sqlglot's parse_mod in the DB2 term parser (apache#44708) * fix(databricks): keep the user's OAuth2 token and extra connect_args; re-auth on HTTP 401 (apache#44705) * fix(gsheets): align service-account validation and serialize upload dates (apache#44695) * fix(mcp): prioritize exact tool names in BM25 search (apache#44682) * test(embedded-sdk): cross-document test rig for the navigation fix (apache#44608) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(auth): drain flash messages on the login page (apache#44605) * fix(gantt): prevent y-axis category labels from being clipped (apache#44321) * fix(auth): remove the legacy FAB password reset views and move password resets into the SPA (apache#44626) Co-authored-by: jayvenn21 <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]> * fix: increase dataset edit modal size (apache#38215) (apache#39257) Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com> Co-authored-by: rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(doris): offer the connection form by matching the installed driver (apache#44736) * chore(deps): bump @googleapis/sheets from 18.0.0 to 18.0.1 in /superset-frontend (apache#44862) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump github/codeql-action/analyze from 4.38.1 to 4.38.2 (apache#44861) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump github/codeql-action/upload-sarif from 4.38.1 to 4.38.2 (apache#44859) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: add sadpandajoe as a codeowner for .asf.yaml (apache#44855) Co-authored-by: Claude Sonnet 5 <[email protected]> * chore: drop cypress-matrix-required from required status checks (apache#44854) Co-authored-by: Claude Sonnet 5 <[email protected]> * chore(deps): bump github/codeql-action/init from 4.38.1 to 4.38.2 (apache#44860) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Li <[email protected]> * chore(e2e): remove Cypress infrastructure (apache#44829) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * fix(oauth2): refresh a token rejected when a connection opens (apache#44765) * feat(table): add multi-level column header groups (apache#43938) Co-authored-by: Cursor <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * fix(mcp): enforce tool deadlines without blocking the server (apache#44581) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * test(playwright): select existing dashboards without creating duplicates (apache#44856) * feat(mcp): support tab-scoped dashboard layouts (apache#44797) * fix: size 'Drill to detail' table header correctly (apache#44807) * fix(mcp): use DEFAULT_PAGE_SIZE constant in list_charts test (apache#44786) * fix(mcp): keep a bubble chart's colors and row limit across updates (apache#44618) Co-authored-by: Greg Neighbors <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]> * fix(frontend): use html2canvas for chart image export on Safari (apache#44529) * chore(deps): bump deck.gl and luma.gl from 9.2.5 to 9.4.0 in /superset-frontend (apache#42608) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(home): redirect users without an ID before rendering (apache#44456) * chore(deps-dev): update google-cloud-storage requirement from >=1.37 to >=3.14.1 (apache#44693) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(mcp): enforce dashboard filter scope on dataset, SQL and chart tool calls (apache#44800) * fix(postprocessing): preserve NULL index values through pivot() (apache#43547) (apache#43693) Co-authored-by: Copilot Autofix powered by AI <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(mcp): execute_sql request limit caps, never raises, an explicit SQL LIMIT (apache#44604) Co-authored-by: Claude Opus 5.5 <[email protected]> * ci: require babel-extract to pass before merging master (apache#44543) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(mcp): report a chart's live dataset id and name (apache#44681) * fix(retention): skip models without purge policies before scanning (apache#44874) * fix(semantic-layers): export/import semantic-view charts by typed reference (apache#44396) * fix(semantic-layer): require explicit member identity reselection (apache#44370) * fix(logging): register LogRestApi only once (apache#44732) * chore(deps-dev): bump baseline-browser-mapping from 2.11.25 to 2.11.26 in /superset-frontend (apache#44890) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump dompurify from 3.4.15 to 3.4.16 in /superset-frontend (apache#44889) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump dom-to-image-more from 3.10.2 to 3.11.0 in /superset-frontend (apache#44888) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump maplibre-gl from 6.8.0 to 6.11.2 in /superset-frontend (apache#44887) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump minimizer-webpack-plugin from 5.11.0 to 5.12.0 in /superset-frontend (apache#44886) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump webpack-sources from 3.5.1 to 3.5.3 in /superset-frontend (apache#44885) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxlint-tsgolint from 7.0.2002 to 7.0.2003 in /docs (apache#44883) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxlint-tsgolint from 7.0.2002 to 7.0.2003 in /superset-websocket (apache#44882) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(superset-ui-chart-controls): forward-compat fixes for TypeScript 6.0 (apache#44877) Co-authored-by: Claude Sonnet 5 <[email protected]> * feat(export/import): add annotation layer export/import support for charts and dashboards (apache#43232) Co-authored-by: rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> * fix(users): stop update_me setting self-referential changed_by_fk (apache#44866) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * chore(deps): bump dawidd6/action-download-artifact from 24 to 25 (apache#44884) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(build): de-vendor `helm/chart-testing-action` GHA (apache#44722) Signed-off-by: hainenber <[email protected]> * fix(ci): floor pyfakefs at 5.7.4 to fix Python 3.13 pytest-cov crash (apache#44853) Co-authored-by: Claude Opus 5 <[email protected]> * docs(databases): add ClickHouse Managed Postgres (apache#44870) Co-authored-by: Đỗ Trọng Hải <[email protected]> * test(explore): cover time range frames, comparison labels, and metric popover state (apache#44847) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(change-detector): classify changed files by language, not directory (apache#44895) * chore(mcp): fix malformed tool and prompt docstrings (apache#44572) Co-authored-by: Claude Opus 5 <[email protected]> * feat(chart): cross-filter by x-axis label on charts with dimensions (apache#44869) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(explore): cover color scheme selection, BigNumber subheader/trendline, and WorldMap bubbles (apache#44846) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(plugin-chart-table): cover server-side sort, query mode controls, and sort ordering (apache#44845) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(explore): cover viz switch and control dependency logic (apache#44842) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(explore): add fetchTopNValues unit tests (apache#44841) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test(explore): add saveModalReducer unit tests (apache#44839) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * fix(dashboard): show the configured refresh warning alongside the limit error (apache#44836) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test(explore): add datasourcesReducer unit tests (apache#44840) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test(explore): port remaining deleted Cypress explore specs to RTL (apache#44838) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(frontend): await the userEvent calls that needed restructuring (apache#44799) * fix(chart): wrap raw pandas TypeError/DataError from post-processing as QueryObjectValidationError (apache#44463) * fix(reports): catch TypeError when validating non-string extra.dashboard.anchor (apache#44404) Co-authored-by: Claude Opus 4.8 <[email protected]> * fix(import): avoid UnboundLocalError when load_yaml fails during load_configs (SC-121288) (apache#44390) Co-authored-by: Claude Opus 4.8 <[email protected]> * fix(api): return 401 not 500 for auth errors in CurrentUserRestApi (SC-120417) (apache#44213) * fix(security): guard is_guest_user against NoAuthorizationError on unauthenticated error paths (apache#43826) Co-authored-by: Claude Opus 4.8 <[email protected]> * fix: downgrade deprecated query_object field warnings to info (apache#43520) * docs: remove stale Selenium references after Playwright-only switch (apache#44243) * fix(mcp): include feature_availability in instance://metadata resource (apache#44891) * fix(echarts): recognize Date and ISO-string temporal x-axis values in getXAxisDomain (apache#44818) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(native-filters): keep cascade dependency gate in sync with live filter type (apache#44366) Co-authored-by: Superset Dev <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * feat(ci): add Chromatic visual regression testing for Storybook (apache#44103) Co-authored-by: Claude Code <[email protected]> * fix(mcp): skip dashboard live updates when websockets are disabled or realtime access is missing (apache#44796) * test(dashboard): cover "View as table" end-to-end for a view-as-table-only role (apache#44881) Co-authored-by: Claude Sonnet 5 <[email protected]> * test(clickhouse): cover GROUP BY ALL against a real instance (apache#40482) (apache#44879) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(sec): sanitize HTML text before shown as impact item's label (apache#43825) * fix(chart): accept quarter and day in end-of time ranges (apache#43204) * fix(sql-lab): avoid duplicate generated result column names (apache#44189) * fix(chart): sort Heatmap Y-axis by default when unset (apache#44588) Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(select): remove Space wrapper from optionRender to fix option label truncation (apache#44357) * fix(sql-lab): use function valueGetter for GridTable row numbers (apache#41574) Co-authored-by: chenshaobo <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(mcp): stop partial-update tools from advertising null defaults (apache#44573) Co-authored-by: Claude Opus 5 <[email protected]> * fix(cartodiagram): share Pie colors across locations in Explore (apache#44794) * fix(mcp): use create_proxy in simple_proxy for fastmcp 4 compatibility (apache#44787) * fix(post-processing): stop treating gaps as zero for cumprod, cummin and cummax (apache#44828) * fix(import): remove duplicate config redefinition in load_configs (apache#44932) Co-authored-by: Claude Sonnet 5 <[email protected]> * perf(deletion-retention): one window pass for repeat predicate (apache#44349) * chore(deps): bump markdown from 3.10.3 to 3.11 (apache#44941) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps-dev): update google-cloud-storage requirement from >=3.14.1 to >=3.15.0 (apache#44940) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump cachetools from 7.1.8 to 7.2.0 (apache#44939) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps-dev): update databricks-sql-connector requirement from <4.6.0,>=4.5.0 to >=4.6.0,<4.7.0 (apache#44937) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump holidays from 0.104 to 0.105 (apache#44936) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps): bump sqlglot from 30.18.0 to 30.19.0 (apache#44935) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps-dev): bump clickhouse-connect from 1.8.0 to 1.9.0 (apache#44934) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(mcp): preserve calling constraints in compact tool discovery (apache#44656) Co-authored-by: Claude Opus 5.5 <[email protected]> * feat: Add GUI for label_colors in Dashboard Properties Modal (apache#39434) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Jay Masiwal <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * test(opensearch): cover pagination and Content-Type regression against a real instance (apache#44924) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(frontend): finish migrating off direct antd imports, enforce it in custom rules (apache#44927) Co-authored-by: Claude Sonnet 5 <[email protected]> * test(mysql): cover require_mysql_tls fail-closed and verified-TLS paths (apache#44910) Co-authored-by: Claude Sonnet 5 <[email protected]> * test(oracle): cover cancel-query against a real running statement (apache#44908) Co-authored-by: Claude Sonnet 5 <[email protected]> * test(cratedb): cover epoch-ms timestamp decoding against a real instance (apache#44904) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(deps): restore dompurify 3.4.16 in frontend lockfile (apache#44960) * fix(mypy): ignore false-positive union-attr on Slice.uuid.in_() (apache#44944) Co-authored-by: Claude Sonnet 5 <[email protected]> * docs(mcp): document semantic-layer MCP tools (apache#44130) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(dataset-editor): preserve edits across sort and sync external SQL changes (apache#44858) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(sqlite): write midnight as a bare date for DATE columns in time filters (apache#44805) Co-authored-by: Amin Ghadersohi <[email protected]> * chore(deps): bump dawidd6/action-download-artifact from 25 to 26 (apache#44977) * chore(deps): bump chromaui/action from 18.7.3 to 18.10.1 (apache#44973) * chore(deps-dev): bump postcss-styled-syntax from 0.7.2 to 0.7.3 in /superset-frontend (apache#44980) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 26.6.2 to 26.6.3 in /superset-frontend (apache#44979) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump webpack-sources from 3.5.3 to 3.6.0 in /superset-frontend (apache#44978) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump chalk from 6.0.0 to 6.0.1 in /superset-frontend (apache#44976) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump vitest from 5.0.1 to 5.0.2 in /superset-embedded-sdk (apache#44974) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 26.6.2 to 26.6.3 in /superset-embedded-sdk (apache#44972) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 26.6.2 to 26.6.3 in /superset-websocket (apache#44971) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump vitest from 5.0.1 to 5.0.2 in /superset-websocket (apache#44970) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump ws from 8.21.3 to 8.22.0 in /superset-websocket (apache#44969) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: remove unused INCLUDE_FIREFOX build arg and dead screenshot config (apache#44245) * fix(explore): preserve pending column configuration edits (apache#44931) * fix(mcp): return actionable authorized column suggestions (apache#44603) * chore(deps-dev): bump the swc group in /superset-frontend with 2 updates (apache#44975) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(build): remove unused `polyline` Python dep (apache#44961) * fix: full CSV download in AgGrid (apache#41696) Co-authored-by: rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * feat(mcp): support filter_range and filter_timegrain filters (apache#44893) * fix(models): silence pandas silent-downcasting FutureWarning in normalize_df (apache#44897) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * fix(mcp): avoid duplicate SQL execution results (apache#44949) * fix(charts): return 404 when chart export hits an inaccessible dataset (apache#44900) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * fix(mcp): allow bounding dashboard dataset columns (apache#44951) * feat(mcp): return the Big Number headline from chart and dashboard data (apache#44948) * fix(logging): stop logging tracebacks for client-side HTTP errors (apache#44666) * fix(ag-grid-table): refresh totals when summary aggregation changes (apache#44612) * feat(ci): conditionally run CodeQL analysis workflows only when there are detected JS/Python file changes (apache#44699) * fix(embedded): refuse guest row-level security on semantic views (apache#44987) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Mike Bridge <[email protected]> * chore(deps-dev): bump oxlint from 1.85.0 to 1.86.0 in /superset-websocket (apache#45005) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ag-grid-table): expand JSON values in table cells (apache#44907) Co-authored-by: Enzo Martellucci <[email protected]> * chore(i18n): update pt/pt_BR translations and rebuild translation index (apache#43022) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Israel Demetrios Diacov <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(dashboards): close CSS validation gaps in dashboard import and edits (apache#43666) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(themes): overwrite-import guard, missing index, dedupe extra_editors (follow-up to apache#42404) (apache#44362) Co-authored-by: Claude Code <[email protected]> * feat(bignumber): add an alignment control (apache#44554) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(reports): propagate force flag to dashboard-tab permalink report URLs (apache#44775) Co-authored-by: Ferjani Nasraoui <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]> * refactor(list-view): eliminate any usage in ListView.tsx and TableCollection (apache#44208) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(dashboard,explore): wire addWarningToast into download callers (apache#44154) Co-authored-by: Claude Sonnet 5 <[email protected]> * chore(deps): bump the rjsf group in /superset-frontend with 3 updates (apache#45004) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Li <[email protected]> * chore(deps-dev): bump @swc/core from 1.16.2 to 1.16.12 in /superset-frontend in the swc group (apache#45012) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @swc/core from 1.16.2 to 1.16.12 in /docs (apache#45008) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump source-map-js from 1.2.1 to 1.2.2 in /superset-websocket in the security group across 1 directory (apache#45028) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: add global async query playwright tests (apache#43004) Co-authored-by: Claude Fable 5 <[email protected]> * fix(table): omit dormant grains from semantic aggregate requests (apache#44455) * fix(semantic-layers): offer valid table ordering choices (apache#44806) Co-authored-by: Mike Bridge <[email protected]> * fix(semantic-layers): remove child view permissions when a layer is deleted (apache#44905) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * chore(deps): bump proxy-addr from 2.0.7 to 2.0.8 in /superset-websocket/utils/client-ws-app in the security group across 1 directory (apache#45027) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump dawidd6/action-download-artifact from 26 to 27 (apache#45011) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump source-map-js from 1.2.1 to 1.2.2 in /superset-embedded-sdk in the security group across 1 directory (apache#45024) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(pivot-table): respect per-metric formatters in result aggregation (apache#44815) Co-authored-by: Evan Rusackas <[email protected]> * fix(query-context): match an adhoc granularity_sqla by its expression (apache#44773) * feat(mcp): allow default values on filter_select native filters (apache#44985) * feat(mcp): add structured dashboard text component management (apache#44560) * fix(explore): avoid mutating ZoomConfigControl configs (apache#44957) Co-authored-by: Cursor <[email protected]> * test(frontend): await remaining userEvent calls and lint for un-awaited ones (apache#44947) * fix(explore): open SQL Lab in a new tab on Ctrl+click in View query modal (apache#44933) * chore(deps): bump the security group across 1 directory with 9 updates (apache#45026) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the security group across 1 directory with 6 updates (apache#45025) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump wait-on from 9.1.0 to 9.4.0 in /superset-frontend (apache#45015) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxlint from 1.85.0 to 1.86.0 in /superset-frontend (apache#45014) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxlint from 1.85.0 to 1.86.0 in /docs (apache#45009) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump the typescript-eslint group in /superset-frontend with 2 updates (apache#45007) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxfmt from 0.70.0 to 0.71.0 in /superset-websocket (apache#45006) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(mcp): support filter-bar dividers in manage_native_filters (apache#45021) * fix(mcp): state that dataset tools are SQL-only and point to semantic tools (apache#44994) Co-authored-by: Mike Bridge <[email protected]> * fix(dashboards): return 404 when dashboard export hits an inaccessible chart or dataset (apache#44929) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * feat(semantic): add optional metadata refresh SDK contract (apache#44834) Signed-off-by: Mike Bridge <[email protected]> * fix(semantic): map layer views as a collection (apache#44902) * feat(retention): let a host install purge policies for its own soft-delete roots (apache#44892) * fix(semantic): reject SQL clauses on semantic views (apache#44899) * fix(security): bind contextual access checks to the datasource type and id (apache#45002) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Mike Bridge <[email protected]> * fix(permalink): handle concurrent creation of identical dashboard permalinks (apache#45059) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * chore(deps-dev): bump @types/ws from 8.18.1 to 8.18.2 in /superset-websocket (apache#45045) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the storybook group in /docs with 2 updates (apache#45046) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump the storybook group in /superset-frontend with 5 updates (apache#45047) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(post-processing): stop duplicating columns in _append_columns (apache#45018) * feat(plugin-chart-echarts): add a value axis label control (apache#43660) * fix(layout): restore growable app shell so injected content above #app doesn't clip it (apache#45056) Co-authored-by: Claude Sonnet 5 <[email protected]> * feat(pivot-table): collapse row groups by default (apache#45030) * fix(versioning): refuse a chart restore whose datasource no longer exists (apache#44925) * fix(semantic): hide and ignore series limits that have no series columns (apache#44909) Co-authored-by: Mike Bridge <[email protected]> * fix(async): show the real error for a failed async chart query (apache#45054) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(semantic-layer): show provider queries from chart results (apache#44206) Co-authored-by: Mike Bridge <[email protected]> * perf(security): batch dashboard fallback datasource resolution (apache#44993) Co-authored-by: Mike Bridge <[email protected]> * fix(mcp): refuse changes to externally managed dashboards in all dashboard tools (apache#45062) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(versioning): preserve history across savepoint rollback (apache#45033) * fix(cache): evict rejected cached GET requests (apache#45055) * fix(semantic): return a client error for unsupported time grains (apache#45053) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * chore(deps-dev): bump vitest from 5.0.2 to 5.0.3 in /superset-websocket (apache#45072) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: add DouroECI logo and contributor to In the Wild (apache#45096) Co-authored-by: José Henrique <[email protected]> * fix(charts): clear perms of charts whose datasource no longer exists (apache#44926) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * fix(date_parser): use pyparsing snake_case API to silence PyparsingDeprecationWarning (apache#45094) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * fix(mcp): don't page MCP_ERROR_HOOK for user-class errors in the last-resort catch (SC-125493) (apache#45093) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * feat: SIP-209 Improved Alerts & Reports (apache#44992) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(ci): configure more grouped dep upgrades across npm subprojects (apache#44696) Signed-off-by: hainenber <[email protected]> * fix(explore): skip Ctrl/Cmd+Enter query while controls have errors or chart is loading (apache#44963) * fix(explore): show 0 zoom, latitude and longitude in the map view extent tag (apache#44962) Co-authored-by: Joe Li <[email protected]> * fix(explore): honor a controlled ControlPopover open prop (apache#44959) * fix(native-filters): show a clear error instead of "Network error" when filter values fail to load (apache#44585) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(explore): dispatch datasource metadata fetch (apache#44958) * fix(semantic-layer): fail incomplete or unverified semantic query results (apache#44832) * fix(dashboard): refresh semantic metadata across edits (apache#45052) Co-authored-by: Mike Bridge <[email protected]> * chore: Update CODEOWNERS to include @sadpandajoe (apache#45120) * feat(mcp): add typed Sunburst chart support (apache#43771) * fix(semantic-layer): require write access for configuration schema enrichment (apache#45107) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(dashboard): wait for async submenu and debounced validation in flaky tests (apache#45106) Co-authored-by: Mike Bridge <[email protected]> * fix(datasets): accept certification fields on dataset column and metric PUT (apache#45091) * chore(deps): bump chromaui/action from 18.10.1 to 18.10.2 (apache#45134) * fix(semantic-layer): honor provider preferred time dimension (apache#44997) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> * feat(dashboard): add column allowlist to Group By native filter (apache#43736) Co-authored-by: Claude Opus 4.8 <[email protected]> * fix(soft-delete): preserve a shared datasource permission on purge (apache#45034) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(versioning): defer capture policy until versioned work (apache#44928) * fix(date-parser): reject malformed time ranges instead of scanning everything (apache#45098) * chore(deps-dev): bump wait-on from 9.4.0 to 9.5.1 in /superset-frontend (apache#45048) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Li <[email protected]> * chore(deps): bump mapbox-gl from 3.31.0 to 3.32.0 in /superset-frontend (apache#45049) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Li <[email protected]> * chore(deps-dev): bump vitest from 5.0.2 to 5.0.3 in /superset-embedded-sdk (apache#45074) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the swc group across 2 directories with 1 update (apache#45118) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node in /superset-embedded-sdk (apache#45121) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump swagger-ui-react from 5.33.0 to 5.33.1 in /docs (apache#45122) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump yargs from 18.1.0 to 18.2.0 in /superset-frontend (apache#45129) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxfmt in /docs (apache#45119) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: hainenber <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Mike Bridge <[email protected]> Co-authored-by: Amin Ghadersohi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sepuri Sai Krishna <[email protected]> Co-authored-by: Đỗ Trọng Hải <[email protected]> Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Joe Li <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Gaurav Dubey <[email protected]> Co-authored-by: Gaston Laterza <[email protected]> Co-authored-by: Shaitan <[email protected]> Co-authored-by: chadek <[email protected]> Co-authored-by: 47th <[email protected]> Co-authored-by: jayvenn21 <[email protected]> Co-authored-by: Vikash Kumar <[email protected]> Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com> Co-authored-by: SBIN2010 <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> Co-authored-by: mattmc3 <[email protected]> Co-authored-by: Viktor Högberg <[email protected]> Co-authored-by: Greg Neighbors <[email protected]> Co-authored-by: Greg Neighbors <[email protected]> Co-authored-by: hadi mobarra <[email protected]> Co-authored-by: Bexultan <[email protected]> Co-authored-by: Archita-kale <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]> Co-authored-by: Mallikarjuna Reddy Nimmakayala <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> Co-authored-by: Younes Beriane <[email protected]> Co-authored-by: Alasdair Brown <[email protected]> Co-authored-by: Krishna kumar singh <[email protected]> Co-authored-by: Luiz Otavio <[email protected]> Co-authored-by: Sam Firke <[email protected]> Co-authored-by: Superset Dev <[email protected]> Co-authored-by: Dennis Khylkouski <[email protected]> Co-authored-by: Piyush Raj <[email protected]> Co-authored-by: hahaok <[email protected]> Co-authored-by: chenshaobo <[email protected]> Co-authored-by: Nguyen Dang Trung Tien <[email protected]> Co-authored-by: Endi Monan <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jay Masiwal <[email protected]> Co-authored-by: Jay Masiwal <[email protected]> Co-authored-by: Daniel Alyoshin <[email protected]> Co-authored-by: Amin Ghadersohi <[email protected]> Co-authored-by: Minwook Shin <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Rafael Benitez <[email protected]> Co-authored-by: Israel Demetrios Diacov <[email protected]> Co-authored-by: Israel Demetrios Diacov <[email protected]> Co-authored-by: Ferjani Nasraoui <[email protected]> Co-authored-by: drivaspreset <[email protected]> Co-authored-by: Abhinav <[email protected]> Co-authored-by: Trakshan Mishra <[email protected]> Co-authored-by: Amogh Atreya <[email protected]> Co-authored-by: Divyansh Yadav <[email protected]> Co-authored-by: Alexandru Soare <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: rlei <[email protected]> Co-authored-by: J0s3-H3nr1qu3 <[email protected]> Co-authored-by: José Henrique <[email protected]> Co-authored-by: Vitor Avila <[email protected]> Co-authored-by: Mayuri <[email protected]> Co-authored-by: Mehmet Salih Yavuz <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> (cherry picked from commit 3b06cad)
SUMMARY
Uploading a CSV, Excel, or columnar file creates the target table via
pandas.DataFrame.to_sql, which never declares a primary key. A MySQL serverconfigured with
sql_require_primary_key = ONrejects thatCREATE TABLEoutright with error 3750, so the upload fails with no way for the user to
work around it — the key has to be part of the initial
CREATE TABLE, sinceMySQL rejects the bare statement itself and there is no table left to
ALTERafterwards.MySQLEngineSpecnow overridesdf_to_sql. When a table is being created andthe server requires a primary key, it builds the table through pandas'
SQLTablehelper with an explicit key:already being written is promoted to the primary key (this is the literal
case in Unable to import CSV into hosted database that enforces primary key ID #37399 — the reporter's
CREATE TABLEhad that column but it wasnever marked
PRIMARY KEY);colliding with an existing column.
sql_require_primary_keyonly exists in MySQL 8.0.13+, and severalMySQL-compatible specs subclass this one (MariaDB, Doris, StarRocks,
OceanBase, Aurora). Those servers error on the probe query and do not enforce
the requirement, so an unreadable variable is treated as "not required" and
the upload falls through to the unchanged base implementation. Rows are
inserted with the same multi-row
INSERTthe base implementation requests ondialects that support it, so the new path carries no throughput penalty.
Appends to an existing table are untouched, and no behaviour changes on a
server with
sql_require_primary_key = OFF(the default).BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A — backend-only, no UI change.
TESTING INSTRUCTIONS
Unit tests:
pytest tests/unit_tests/db_engine_specs/test_mysql.pyThree tests cover the behaviour. No live MySQL is required: an in-memory
SQLite engine stands in, with a SQLAlchemy event listener reproducing MySQL's
documented enforcement by rejecting any
CREATE TABLEthat lacks a primarykey. The tests verify that the table is created and populated, that the
pandas index column becomes the primary key rather than a redundant extra
column being added, and that a server which does not expose
sql_require_primary_keystill uploads successfully.Manual verification against a real server:
sql_require_primary_key = ON.enabled.
enabled and once without.
(3750, "Unable to create or change a table without a primary key, when the system variable 'sql_require_primary_key' is set.").SHOW CREATE TABLE <your_table>— the table should have aPRIMARY KEYon the index column (index enabled) or on the synthesized column
(index disabled).
unaffected.
ADDITIONAL INFORMATION