Skip to content

Add fallback function to read file directly from LakeFS when presigned URL is not accessible - #3336

Merged
bobbai00 merged 2 commits into
masterfrom
jiadong-fix-dataset-file-read
Mar 26, 2025
Merged

bobbai00 merged 2 commits into
masterfrom
jiadong-fix-dataset-file-read

Conversation

@bobbai00

@bobbai00 bobbai00 commented Mar 24, 2025 •

Copy link
Copy Markdown
Contributor

A follow-up PR of #3335 .

This PR adds an exception handler for reading file from the presigned url. In some cases when the S3 is not accessible from the network, e.g. single-node architecture where each service is in the docker-compose's own network and cannot access host's network.

If exception happens, this handler will read file from LakeFS by calling LakeFS's API.

This PR also add some comments on LakeFS APIs and remove some redundant comments on a sql file.

@bobbai00
bobbai00 requested a review from shengquan-ni March 24, 2025 16:34
@bobbai00 bobbai00 self-assigned this Mar 24, 2025
@bobbai00 bobbai00 added the fix label Mar 24, 2025
@bobbai00 bobbai00 changed the title Add fallback function for reading files from the dataset Add fallback function to read file directly from LakeFS when presigned URL is not accessible Mar 24, 2025
@bobbai00
bobbai00 merged commit e70e676 into master Mar 26, 2025
@bobbai00
bobbai00 deleted the jiadong-fix-dataset-file-read branch March 26, 2025 00:01
Ma77Ball pushed a commit that referenced this pull request Apr 2, 2025
…d URL is not accessible (#3336)

A follow-up PR of #3335 .

This PR adds an exception handler for reading file from the presigned
url. In some cases when the S3 is not accessible from the network, e.g.
single-node architecture where each service is in the docker-compose's
own network and cannot access host's network.

If exception happens, this handler will read file from LakeFS by calling
LakeFS's API.

This PR also add some comments on LakeFS APIs and remove some redundant
comments on a sql file.
SarahAsad23 pushed a commit to madisonmlin/texera that referenced this pull request May 20, 2026
…d URL is not accessible (apache#3336)

A follow-up PR of apache#3335 .

This PR adds an exception handler for reading file from the presigned
url. In some cases when the S3 is not accessible from the network, e.g.
single-node architecture where each service is in the docker-compose's
own network and cannot access host's network.

If exception happens, this handler will read file from LakeFS by calling
LakeFS's API.

This PR also add some comments on LakeFS APIs and remove some redundant
comments on a sql file.
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
…d URL is not accessible (apache#3336)

A follow-up PR of apache#3335 .

This PR adds an exception handler for reading file from the presigned
url. In some cases when the S3 is not accessible from the network, e.g.
single-node architecture where each service is in the docker-compose's
own network and cannot access host's network.

If exception happens, this handler will read file from LakeFS by calling
LakeFS's API.

This PR also add some comments on LakeFS APIs and remove some redundant
comments on a sql file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants