-
Notifications
You must be signed in to change notification settings - Fork 224
Time32/Time64 deserialization is not yet implemented #1379
Comments
agree - would you like to address it, or should I do it? |
I'd definitely like to try but I never did any contribution to an open source project and I'm almost a newbie in Rust, so I'd need some guidance :) |
@christophe-petitjean we are all here to learn :) From our perspective, reading any format is composed by two main parts: type inference (what type is column X) and deserialization (map bytes to the type). By the error, you passed a specific type to the deserialization, but the deserializer does not know how to map the bytes to that type. This is where we need to work on for this issue. The entry point of this is here: https://github.com/jorgecarleitao/arrow2/blob/main/src/io/csv/read_utils.rs#L148 We need essentially a new branch on that function for time, and write the function itself. From here, we can start to think about the deserialization of the times themselves. One approach here is to use chrono and map Does this make sense? Let me know if you need more guidance or help. |
Thanks for your help ! Yes it makes sense, I'll work on it as soon as I'm back from vacation (in a week) |
#1425 is merged, should be closed? |
Yes I think so. Can I let you close it? I don't know if there is some process to follow |
I don't have the perms, was merely pointing out that I think this os fixed. |
Environment: WASM
When reading a csv file where one of the columns is typed as Time32, I got an error:
It seems that deserializing of Time32 and Time64 is not implemented in io/csv/read_util.rs/deserialize_column function
The text was updated successfully, but these errors were encountered: