This repository was archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
storage: support s3 seek end #476
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
05f41ae
support s3 seek end
glorv 9c07281
support nil for WalkOption
glorv 6093b77
try parse range info from respose
glorv 30254e9
fix test
glorv 223cb18
fix lint
glorv b16b258
fix a bug in s3 WalkDir
glorv daabdc0
update
glorv f34febe
update
glorv 7a33354
fix
glorv 7581dac
loop read s3 reader
glorv b44a9ad
fix lint
glorv c5bd76d
fix more lint
glorv 0fa3c96
fmt
glorv 671f807
Merge branch 'master' into s3-seek
glorv 3554ada
use io.ReadFull instead of manual loop
glorv f39eba5
Merge branch 's3-seek' of https://github.com/glorv/br into s3-seek
glorv f98de75
fix
glorv f00b797
fix
glorv e0e6730
Merge branch 'master' into s3-seek
glorv efa9c15
Merge branch 'master' into s3-seek
glorv 52277ae
add a comment for the reason to put in struct
glorv 4577a15
Merge branch 's3-seek' of https://github.com/glorv/br into s3-seek
glorv e008286
add a comment
glorv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Urgh, you're voiding the progress of #452. At this point it's better to change the method to be
SeekContext(ctx context.Context, offset int64, whence int) errorand abandon the Seeker interface.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this ctx is mainly using for read parquet files, because parquet reader need open multi reader for each column, if we change this interface, how can we met the parquet file read requirement here: https://github.com/xitongsys/parquet-go/blob/master/source/source.go#L9-L16