feat: switch single-file dataset downloads to use browser native downloads - #3621
Merged
aicam merged 8 commits intoAug 11, 2025
Merged
Conversation
madisonmlin
force-pushed
the
enable-dataset-single-file-download-progress-bar
branch
from
August 4, 2025 21:53
0664c36 to
60ac481
Compare
madisonmlin
marked this pull request as ready for review
August 4, 2025 21:53
aicam
self-requested a review
August 4, 2025 23:13
aicam
approved these changes
Aug 6, 2025
aicam
enabled auto-merge (squash)
August 11, 2025 02:29
madisonmlin
added a commit
to madisonmlin/texera
that referenced
this pull request
Aug 18, 2025
…ive downloads (apache#3621)" This reverts commit f2214a1.
SarahAsad23
pushed a commit
to madisonmlin/texera
that referenced
this pull request
May 20, 2026
…loads (apache#3621) ### Purpose ### This pull request partially addresses issue apache#3404 by changing the download method of single-file dataset downloads to use browser native downloads. Using the browser to handle downloads enables the browser's file download UI, which includes a progress bar when downloading larger files. Previously, we would generate a pre-signed URL for the file via LakeFS API and download it as a Blob. Now, we generate a pre-signed URL for the file via S3 Gateway API, which offers additional flexibility, and click on the URL to trigger browser native download. ### Changes ### - added method to generate pre-signed URL via S3 Gateway API, with additional flexibility to specify file name and type - updated frontend and backend to directly click on a pre-signed URL generated via the new method for single file dataset downloads - removed success and error notifications for single file dataset downloads (the success and error of a file download cannot be obtained when using browser native download) - updated unit tests to verify new download method Changed Files: - file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala - file-service/src/main/scala/edu/uci/ics/texera/service/util/S3StorageClient.scala - gui/src/app/dashboard/component/user/user-dataset/user-dataset-explorer/dataset-detail.component.ts - gui/src/app/dashboard/service/user/dataset/dataset.service.ts - gui/src/app/dashboard/service/user/download/download.service.spec.ts - gui/src/app/dashboard/service/user/download/download.service.ts
SarahAsad23
pushed a commit
to madisonmlin/texera
that referenced
this pull request
May 20, 2026
…ser native downloads (apache#3621)" (apache#3669) This PR reverts commit 12177c8 due to issues with the single-file dataset download for Texera when hosted on Kubernetes.
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
…loads (apache#3621) ### Purpose ### This pull request partially addresses issue apache#3404 by changing the download method of single-file dataset downloads to use browser native downloads. Using the browser to handle downloads enables the browser's file download UI, which includes a progress bar when downloading larger files. Previously, we would generate a pre-signed URL for the file via LakeFS API and download it as a Blob. Now, we generate a pre-signed URL for the file via S3 Gateway API, which offers additional flexibility, and click on the URL to trigger browser native download. ### Changes ### - added method to generate pre-signed URL via S3 Gateway API, with additional flexibility to specify file name and type - updated frontend and backend to directly click on a pre-signed URL generated via the new method for single file dataset downloads - removed success and error notifications for single file dataset downloads (the success and error of a file download cannot be obtained when using browser native download) - updated unit tests to verify new download method Changed Files: - file-service/src/main/scala/edu/uci/ics/texera/service/resource/DatasetResource.scala - file-service/src/main/scala/edu/uci/ics/texera/service/util/S3StorageClient.scala - gui/src/app/dashboard/component/user/user-dataset/user-dataset-explorer/dataset-detail.component.ts - gui/src/app/dashboard/service/user/dataset/dataset.service.ts - gui/src/app/dashboard/service/user/download/download.service.spec.ts - gui/src/app/dashboard/service/user/download/download.service.ts
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
…ser native downloads (apache#3621)" (apache#3669) This PR reverts commit f2214a1 due to issues with the single-file dataset download for Texera when hosted on Kubernetes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request partially addresses issue #3404 by changing the download method of single-file dataset downloads to use browser native downloads. Using the browser to handle downloads enables the browser's file download UI, which includes a progress bar when downloading larger files.
Previously, we would generate a pre-signed URL for the file via LakeFS API and download it as a Blob. Now, we generate a pre-signed URL for the file via S3 Gateway API, which offers additional flexibility, and click on the URL to trigger browser native download.
Changes
Changed Files: