Replies: 1 comment
-
You are right, there seems to be a bit of a mess! The most common place where block sizes are relevant is in the File-like API.
Some implementations use a concept of "block size" for other operations such as get/put/cat/pipe_file, often as default kwargs on those methods or hard-coded. Note: for cached, it more or less doesn't matter, because the whole point is to have a local copy of the file rather that an in-memory bytes cache. The only difference it would/should make is during the file copy. I would be happy to see all of this consolidated to something reasonable! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a convention between
blocksize
andblock_size
?Trying to understand this baffling behavior...
fs.blocksize
appears to be inherited fromAbstractFileSystem
and subsequently seems to be the actual blocksize used for operations. It is confusing to me why there are two different blocksizes. I cannot seem to influence the value offs.blocksize
unless I set the attribute directly.Is this intended behavior?
EDIT: The behavior is even more baffling when caching is used.
This doesn't seem like correct behavior. Can someone please explain what is happening here?
Beta Was this translation helpful? Give feedback.
All reactions