You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "ColtenOuO (via GitHub)" <gi...@apache.org> on 2026/08/10 20:18:51 UTC
[PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
ColtenOuO opened a new pull request, #43017:
URL: https://github.com/apache/superset/pull/43017
### SUMMARY
`ExportDashboardsCommand._file_content` and `_export` issued a separate `DatasetDAO.find_by_id` query per native-filter target and per chart-customization target, even when multiple targets referenced the same dataset — a common case, since one dataset is often targeted by several filters on the same dashboard. `_export` compounded this by re-running a full `ExportDatasetsCommand([id]).run()` (a recursive `export_to_dict` plus the dataset's database export) for every occurrence of the same dataset id, with the duplicate output only discarded later by filename dedup in the outer export loop.
This change collects all referenced dataset ids up front, resolves them in a single batched `DatasetDAO.find_by_ids()` call, and exports each unique dataset exactly once via a single `ExportDatasetsCommand(unique_ids).run()` call. Behavior is unchanged — same UUID substitution, same "dataset not found" fallback/warning, same file output — just without the redundant DB round-trips and re-serialization work.
Benchmarked against a real SQLite session (`DatasetDAO.find_by_id` × N vs. a single `find_by_ids`): ~2.4x faster at 3 unique referenced datasets, ~6.2x at 10, ~9.4x at 20. This is against local SQLite with no network latency — on a production Postgres/MySQL backend the per-query round-trip cost is higher, so the absolute savings would be larger.
### TESTING INSTRUCTIONS
- `pytest tests/unit_tests/commands/dashboard/export_test.py -q` — 18 tests pass, including two new regression tests (`test_file_content_batches_dataset_lookup_across_targets`, `test_export_batches_dataset_export_across_targets`) that assert `DatasetDAO.find_by_id` is never called and `DatasetDAO.find_by_ids` / `ExportDatasetsCommand` are each called exactly once, even when several targets reference overlapping dataset ids. Verified these fail against the pre-fix implementation (3 calls to `find_by_id`) and pass against the fix.
- `ruff check` / `ruff format --check` on both changed files pass.
### ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "ColtenOuO (via GitHub)" <gi...@apache.org>.
ColtenOuO commented on PR #43017:
URL: https://github.com/apache/superset/pull/43017#issuecomment-5508168322
Thanks for the review! and sorry for the late reply :/
I fixed all comments and suggestions in lastest commit (also fix the conflict)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #43017:
URL: https://github.com/apache/superset/pull/43017#issuecomment-5245472887
AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "EnxDev (via GitHub)" <gi...@apache.org>.
EnxDev commented on PR #43017:
URL: https://github.com/apache/superset/pull/43017#issuecomment-5507444554
Hi @ColtenOuO, let me know if you need some help here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "ColtenOuO (via GitHub)" <gi...@apache.org>.
ColtenOuO commented on code in PR #43017:
URL: https://github.com/apache/superset/pull/43017#discussion_r3913285971
##########
superset/commands/dashboard/export.py:
##########
@@ -48,6 +48,13 @@
DEFAULT_CHART_WIDTH = 4
+def _coerce_dataset_id(raw_dataset_id: Any) -> Optional[int]:
+ try:
+ return int(raw_dataset_id)
Review Comment:
Sure! that make sense, I've updated `_coerce_dataset_id` and added a regression test in lastest commit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "EnxDev (via GitHub)" <gi...@apache.org>.
EnxDev commented on code in PR #43017:
URL: https://github.com/apache/superset/pull/43017#discussion_r3914058201
##########
superset/commands/dashboard/export.py:
##########
@@ -48,6 +48,13 @@
DEFAULT_CHART_WIDTH = 4
+def _coerce_dataset_id(raw_dataset_id: Any) -> Optional[int]:
+ try:
+ return int(raw_dataset_id)
Review Comment:
Thanks—this stricter check and the regression coverage address my concern.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "EnxDev (via GitHub)" <gi...@apache.org>.
EnxDev merged PR #43017:
URL: https://github.com/apache/superset/pull/43017
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #43017:
URL: https://github.com/apache/superset/pull/43017#issuecomment-5508251325
<!-- Bito Reply -->
The suggestion to restrict `_coerce_dataset_id` to strictly integer or base-10 integer string inputs is appropriate to prevent silent truncation of floats or unexpected behavior with malformed strings. Using `int(raw_dataset_id)` as currently implemented allows `1.9` to become `1` and `"1_0"` to be parsed, which could lead to incorrect dataset references.
To implement this, you can update the helper function to validate the input format before conversion:
```python
def _coerce_dataset_id(raw_dataset_id: Any) -> Optional[int]:
if isinstance(raw_dataset_id, int):
return raw_dataset_id
if isinstance(raw_dataset_id, str) and raw_dataset_id.isdigit():
return int(raw_dataset_id)
return None
```
Adding a regression test with non-integral values (e.g., `1.9`, `"1.9"`, `"1_0"`) would ensure that these cases are correctly handled as invalid references rather than being coerced.
**superset/commands/dashboard/export.py**
```
def _coerce_dataset_id(raw_dataset_id: Any) -> Optional[int]:
if isinstance(raw_dataset_id, int):
return raw_dataset_id
if isinstance(raw_dataset_id, str) and raw_dataset_id.isdigit():
return int(raw_dataset_id)
return None
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #43017:
URL: https://github.com/apache/superset/pull/43017#issuecomment-5510220293
AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
<details>
<summary>
Bito Usage Guide
</summary>
**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 <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
**Configuration**
This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
**Documentation & Help**
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
- <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "EnxDev (via GitHub)" <gi...@apache.org>.
EnxDev commented on PR #43017:
URL: https://github.com/apache/superset/pull/43017#issuecomment-5339757729
## EnxDev's Review Agent — apache/superset#43017 · HEAD a44bae3
**comment** — behavior-preserving perf refactor; the file set and UUID substitution are unchanged for all realistic inputs. Two robustness/test gaps below.
Audited as a refactor: walked both `_file_content` and `_export` against `origin/master` for observable differences. The per-target `ExportDatasetsCommand([id]).run()` duplicates were already discarded by the `seen` filename dedup in `ExportModelsCommand.run()`, so the emitted bundle is identical — only the ordering of `datasets/*` and `databases/*` entries inside the zip changes, which the importer doesn't depend on. CI is green across `unit-tests`, `test-postgres`/`test-mysql`/`test-sqlite`, `pre-commit`, and `codecov/patch`.
### 🟡 Should-fix
- **`superset/commands/dashboard/export.py:327`** — `datasets_by_id` is keyed by `dataset.id` (int), but every lookup uses the raw value from `json_metadata`. `find_by_id(dataset_id)` compared in SQL, so a string `datasetId` (`"5"`) resolved on MySQL/SQLite through type coercion; `datasets_by_id.get("5")` misses, so `datasetUuid` is silently dropped and the display-control path logs a bogus "missing dataset" warning. The same input on Postgres is worse: `find_by_ids` wraps `SQLAlchemyError` into `DAOFindFailedError` and raises, where `find_by_id` caught `StatementError` and returned `None`, so a single malformed id now aborts the whole dashboard export instead of skipping one target. Not hypothetical typing — `superset/tasks/native_filter_cache.py:53` declares this field `int | str`. Normalize on collection (coerce to `int`, skipping values that don't coerce) so both sides of the map agree.
- **`superset/commands/dashboard/export.py:462-467`** — the `find_by_ids` pre-filter here is load-bearing and untested. `ExportModelsCommand.validate()` raises `DatasetNotFoundError` when `len(self._models) != len(self.model_ids)`, so passing `referenced_dataset_ids` straight through would make any dashboard with a dangling filter dataset reference fail its entire export. `test_export_batches_dataset_export_across_targets` returns both datasets, so nothing guards it. **regression test:** metadata referencing ids `{1, 2, 3}` with `find_by_ids` returning only 1 and 2 → assert `ExportDatasetsCommand` is constructed with exactly `{1, 2}` and the export completes without raising. A one-line comment saying why the lookup isn't redundant with `validate()`'s own `find_by_ids` would stop the next reader from "simplifying" it away.
### 🔵 Nits
- `superset/commands/dashboard/export.py:312-355` — `payload.get("metadata", {})` now appears four times in `_file_content`. Binding it once at the top also removes the `AttributeError` when `json_metadata` decodes to `null` (the key exists with value `None`, so the default never applies).
- The codecov patch figure of 36% comes from the carried-forward integration flags — the `unit` flag reports `<ø>` for these lines. The new unit tests do cover them; worth noting so the red badge doesn't stall the PR.
### 🙌 Praise
- `superset/commands/dashboard/export.py:462` — resolving ids first and passing only the found ones preserves the skip-dangling-reference semantics that a naive batch would have broken into a hard `DatasetNotFoundError`. Easy detail to miss.
- `tests/unit_tests/commands/dashboard/export_test.py` — asserting `find_by_id.assert_not_called()` alongside the UUID substitutions makes these real N+1 guards rather than smoke tests, and the overlapping-id fixtures exercise the dedup that motivates the change.
<!-- enxdev-review-agent:a44bae3 -->
_Reviewed by EnxDev's Review Agent — @EnxDev · HEAD a44bae3._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #43017:
URL: https://github.com/apache/superset/pull/43017#issuecomment-5524241601
**Bito Automatic Review Skipped – PR Already Merged**<br/><br/>Bito scheduled an automatic review for this pull request, but the review was skipped because this PR was merged before the review could be run.<br/>No action is needed if you didn't intend to review it. To get a review, you can type `/review` in a comment and save it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "netlify[bot] (via GitHub)" <gi...@apache.org>.
netlify[bot] commented on PR #43017:
URL: https://github.com/apache/superset/pull/43017#issuecomment-5508068084
### <span aria-hidden="true">✅</span> Deploy Preview for *superset-docs-preview* ready!
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | b175c390d8e1390d508f8a0f01352412ba613976 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/superset-docs-preview/deploys/6a97f8340fdb0800087d06d1 |
|<span aria-hidden="true">😎</span> Deploy Preview | [https://deploy-preview-43017--superset-docs-preview.netlify.app](https://deploy-preview-43017--superset-docs-preview.netlify.app) |
|<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br /><br /><br />_Use your smartphone camera to open QR code link._</details> |
|<span aria-hidden="true">🤖</span> Make changes | [Run an agent on this branch](https://app.netlify.com/projects/superset-docs-preview/agent-runs#DctRCoMwDADQu-TbYsZE626wY6SmpTI1oUbokN19_Xs_7wYtsqvBC6CDUOhYcnNaa8905iBU2MWqUswFsiU7JqMzmttEPpe2xFE3-b65tZHmKfnngIkDekT0E-PID_j9AQ) |
---
<!-- [superset-docs-preview Preview](https://deploy-preview-43017--superset-docs-preview.netlify.app) -->
_To edit notification comments on pull requests, go to your [Netlify project configuration](https://app.netlify.com/projects/superset-docs-preview/configuration/notifications#deploy-notifications)._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "EnxDev (via GitHub)" <gi...@apache.org>.
EnxDev commented on code in PR #43017:
URL: https://github.com/apache/superset/pull/43017#discussion_r3913214453
##########
superset/commands/dashboard/export.py:
##########
@@ -48,6 +48,13 @@
DEFAULT_CHART_WIDTH = 4
+def _coerce_dataset_id(raw_dataset_id: Any) -> Optional[int]:
+ try:
+ return int(raw_dataset_id)
Review Comment:
Could we restrict this to actual integers and base-10 integer strings? `int()` also truncates floats (`1.9` becomes `1`) and accepts strings such as `"1_0"`, so malformed dashboard metadata can silently resolve and export a different dataset instead of being treated as a dangling reference. A small regression test with a non-integral value would help preserve the previous behavior.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #43017:
URL: https://github.com/apache/superset/pull/43017#issuecomment-5509665775
🎪 [Showtime](https://github.com/mistercrunch/superset-showtime) is building environment on [GHA](https://github.com/apache/superset/actions/runs/33631114957) for [1fbbc89](https://github.com/apache/superset/commit/1fbbc89)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on PR #43017:
URL: https://github.com/apache/superset/pull/43017#issuecomment-5442135014
Nice catch on the N+1 here, and the regression tests actually asserting `find_by_id` is never called are a good way to pin the behavior down. One thing worth checking before merge: `datasets_by_id` ends up keyed by `dataset.id` (an int), but the lookups use the raw `datasetId` pulled straight out of `json_metadata`, which `native_filter_cache.py` types as `int | str` elsewhere in the codebase. `find_by_ids` will still resolve a string id fine since it converts before querying, but `datasets_by_id.get(dataset_id)` would miss on an int/str key mismatch and silently drop that target's `datasetUuid`. Worth normalizing the collected ids to int before building the dict?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] perf(dashboard): batch dataset lookups during dashboard export [superset]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #43017:
URL: https://github.com/apache/superset/pull/43017#issuecomment-5245554970
## [Codecov](https://app.codecov.io/gh/apache/superset/pull/43017?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:x: Patch coverage is `0%` with `11 lines` in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 57.14%. Comparing base ([`651c046`](https://app.codecov.io/gh/apache/superset/commit/651c046e6998126463eb521a81c002e5e11fb253?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`a44bae3`](https://app.codecov.io/gh/apache/superset/commit/a44bae3fe822f216010e356ccbb313560dc34f22?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 9 commits behind head on master.
| [Files with missing lines](https://app.codecov.io/gh/apache/superset/pull/43017?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
|---|---|---|
| [superset/commands/dashboard/export.py](https://app.codecov.io/gh/apache/superset/pull/43017?src=pr&el=tree&filepath=superset%2Fcommands%2Fdashboard%2Fexport.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvY29tbWFuZHMvZGFzaGJvYXJkL2V4cG9ydC5weQ==) | 0.00% | [11 Missing :warning: ](https://app.codecov.io/gh/apache/superset/pull/43017?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
> :exclamation: There is a different number of reports uploaded between BASE (651c046) and HEAD (a44bae3). Click for more details.
>
> <details><summary>HEAD has 8 uploads less than BASE</summary>
>
>| Flag | BASE (651c046) | HEAD (a44bae3) |
>|------|------|------|
>|python|8|2|
>|presto|2|1|
>|hive|2|1|
></details>
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #43017 +/- ##
==========================================
- Coverage 66.42% 57.14% -9.28%
==========================================
Files 2861 2861
Lines 161614 161615 +1
Branches 37223 37222 -1
==========================================
- Hits 107349 92362 -14987
- Misses 52223 68393 +16170
+ Partials 2042 860 -1182
```
| [Flag](https://app.codecov.io/gh/apache/superset/pull/43017/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [hive](https://app.codecov.io/gh/apache/superset/pull/43017/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `38.21% <0.00%> (+<0.01%)` | :arrow_up: |
| [mysql](https://app.codecov.io/gh/apache/superset/pull/43017/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [postgres](https://app.codecov.io/gh/apache/superset/pull/43017/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [presto](https://app.codecov.io/gh/apache/superset/pull/43017/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `40.18% <0.00%> (+<0.01%)` | :arrow_up: |
| [python](https://app.codecov.io/gh/apache/superset/pull/43017/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `40.23% <0.00%> (-18.97%)` | :arrow_down: |
| [sqlite](https://app.codecov.io/gh/apache/superset/pull/43017/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [unit](https://app.codecov.io/gh/apache/superset/pull/43017/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/superset/pull/43017?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org