You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The specification mentions that the decoded_regions parameter in c.partial_decode() specifies a list of byte ranges. With the sharding codec, to read the shard index without reading the whole file it must be possible to read some number of bytes from the end of the input_handle.
To read and write partial values, a range specifies two integers range_start and range_length, that specify a part of the value starting at byte range_start (inclusive) and having a length of range_length bytes. range_length may be none, indicating all available data until the end of the referenced value.
I think that paragraph should be updated to reflect that a byte range can be
relative to the start of the value (supporting reading to the end), or
relative to the end of the value (supporting reading to the start).
Additionally, I think the details of how a byte range should be implemented (e.g. enum or negative offset/size) should be left up to the implementation.
The text was updated successfully, but these errors were encountered:
The specification mentions that the
decoded_regions
parameter inc.partial_decode()
specifies a list of byte ranges. With thesharding
codec, to read the shard index without reading the whole file it must be possible to read some number of bytes from the end of theinput_handle
.In the Abstract Store Interface section, a byte range is specified as
I think that paragraph should be updated to reflect that a byte range can be
Additionally, I think the details of how a byte range should be implemented (e.g. enum or negative offset/size) should be left up to the implementation.
The text was updated successfully, but these errors were encountered: