paimon-rust icon indicating copy to clipboard operation
paimon-rust copied to clipboard

The InputFile generate from the windows path is not correct

Open Aitozi opened this issue 1 year ago • 0 comments

https://github.com/apache/paimon-rust/actions/runs/10457312133/job/28956637925

image

The InputFile's relative path is generated by

    if let Some(stripped) = path.strip_prefix("file:/") {
                    Ok((op, stripped))
                } else {
                    Ok((op, &path[1..]))
                }

which may not right for windows system

Aitozi avatar Aug 20 '24 02:08 Aitozi