madisonmlin opened a new pull request, #3995:
URL: https://github.com/apache/texera/pull/3995

   ### 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 ### 
   - 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


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to