Skip to content

fix(explore): generate correct chart export url when using legacy api#38096

Open
lucapazz wants to merge 1 commit intoapache:masterfrom
lucapazz:fix/fix-time-series-table-export
Open

fix(explore): generate correct chart export url when using legacy api#38096
lucapazz wants to merge 1 commit intoapache:masterfrom
lucapazz:fix/fix-time-series-table-export

Conversation

@lucapazz
Copy link

SUMMARY

When exporting data via CSV/JSON/Excel from a Time-series Table chart you get a 404 "Page not found" error.
The issue is caused by the malformed export URL, where the origin is duplicated.
This PR removes the origin from the generated URL before passing it to the SupersetClient, which in turn adds it when making the request.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:

malformed-chart-export-url

TESTING INSTRUCTIONS

  1. Create or open a Time-series Table chart.
  2. Click DownloadExport to .CSV.
  3. The CSV file should download successfully, without errors.

ADDITIONAL INFORMATION

@bito-code-review
Copy link
Contributor

bito-code-review bot commented Feb 19, 2026

Code Review Agent Run #473cec

Actionable Suggestions - 0
Review Details
  • Files reviewed - 1 · Commit Range: 86c59ca..86c59ca
    • superset-frontend/src/explore/exploreUtils/index.ts
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful
    • Eslint (Linter) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - 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 evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@dosubot dosubot bot added the explore Namespace | Anything related to Explore label Feb 19, 2026
@netlify
Copy link

netlify bot commented Feb 19, 2026

Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit 86c59ca
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/69971b58b99dd7000890df49
😎 Deploy Preview https://deploy-preview-38096--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

explore Namespace | Anything related to Explore size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Time-series Table: CSV/JSON/Excel export fails with 404 due to incorrectly generated URL (v6.0.0)

1 participant