thomasfrederikhoeck commented on PR #5830:
URL: https://github.com/apache/arrow-rs/pull/5830#issuecomment-2184735346
I don't think this fixes it. If I run the following on Windows with the fix
```rust
use object_store::path::{Path};
fn main() {
let path: String = r"C:\table\time=2021-01-02
03:04:06.000003\file.parquet".to_string();
let path_from: Path = Path::from(path);
println!( "{:?}", path_from);
let path: String = r"C:\table\time=2021-01-02
03:04:06.000003\file.parquet".to_string();
let path_parse: Result<Path, object_store::path::Error> =
Path::parse(path);
println!( "{:?}", path_parse);
}
```
I still see:
```rust
Path { raw: "C:%5Ctable%5Ctime=2021-01-02 03:04:06.000003%5Cfile.parquet" }
Ok(Path { raw: "C:\\table\\time=2021-01-02 03:04:06.000003\\file.parquet" })
```
where I would have expected:
```rust
Path { raw: "C:%5Ctable%5Ctime=2021-01-02
03%3A04%3A06.000003%5Cfile.parquet" }
Ok(Path { raw: "C:\\table\\time=2021-01-02 03:04:06.000003\\file.parquet" })
```
But I might be assuming something wrong? @alamb @hesampakdaman
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]