-
Notifications
You must be signed in to change notification settings - Fork 143
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
Are ignored columns still parsed? #942
Comments
Yes, even with e.g. here's where they get dropped (immediately after parsing) Lines 312 to 322 in a68bb04
(If i had to guess at why we parse them all, i'd guess it's because in multi-threaded parsing it's too hard to do the alternative of "ignoring" columns... but that's a guess) But even taking for granted that's how thngs are implemented, I think this a good point:
For example, we might be able to do something where we if we get |
Many thanks for the explanation. That makes sense if "it's too hard to do the alternative of "ignoring" columns" in multi-threading. |
Fixes #942. When dropping columns while parsing via `select` or `drop`, we need to ensure the column type gets set as `HardMissing`.
Thanks for the report @ShuhuaGao; this is just an oversight in our parsing code when the |
* Ensure dropped columns have type set as missing Fixes #942. When dropping columns while parsing via `select` or `drop`, we need to ensure the column type gets set as `HardMissing`. * finish test
Consider the following MWE.
In the second
read
above, since I have only selected column 2, a natural expectation is that only column 2 is parsed. In other words, I expect thattypes=Int32
applies to all select columns. However, it seems that column 1 is still parsed.The text was updated successfully, but these errors were encountered: