Skip to content

arrow::fs::LocalFileSystem , open input file #42216

@nithinvas

Description

@nithinvas

Describe the usage question you have. Please include as many useful details as possible.

Having an issue with arrow's LocalFileSystem's OpenInputFile when used in windows environment.
std::shared_ptrarrow::io::RandomAccessFile input =file_system.OpenInputFile("/mnt/parquet_files/sample.parquet").ValueOrDie();
when the above statement is used in unix, input pointer is pointing to the opened input file

when used in windows, the program is getting terminated.
std::shared_ptrarrow::io::RandomAccessFile input =file_system.OpenInputFile("C:/workspace/parquet_files/sample.parquet").ValueOrDie();
I tried giving both back slash("\") and forward slash ("/") in the path_to_file field.
Help me with the issue

Component(s)

C++, Parquet

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions