-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarifying start
and length
in ReadRel
#367
Comments
My understanding was that the default (length = 0, start = 0) would be to read the entire file. Though I see this isn't exactly specified anywhere. CC @rui-mo |
Understand this issue. But if (length = 0, start = 0) means to read the entire file, what can be used for an empty file? From my view, |
My two cents:
Therefore, setting both values to zero == unspecified should indicate the whole file. I figure setting only length to zero means reading from a set start point all the way to the end, and vice versa (more obviously) for the other way around. But I would agree that the docs could be improved. |
I don't understand why you would want to read an empty file but I agree with @jvanstraten that, if we do want to support that behavior, we will need to change something. The most intuitive change, IMHO, would be a dedicated message:
|
Is this issue still up for grabs? Would love to do this if it is still an open issue |
Looks like it to me given the labels on this issue. |
Yes, I don't think anyone is working on this at the moment. |
Hi, I just came a cross an issue when running Velox on a parquet file. My plan omitted the
start
andlength
fields of theLocalFiles
message which caused both to be set to 0, which meant that Velox read 0 bytes at offset 0, producing no results. I think in a huge percentage of cases people will want to read the entire file. Would it be reasonable to specify these fields asoptional
or to make0
for thelength
mean to read the whole thing?I think technically Velox is conformant right now, but this isn't the behavior I'd expect.
The text was updated successfully, but these errors were encountered: