apache / apache/iceberg-cpp

Failed to plan files: Invalid: Expected a local filesystem path, got a URI in PlanFiles() call in demo_example.cc

Open
#341 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
221
Forks
124
Avg merge
1d 16h
Merged PRs (30d)
21

Description

There is a "file:" prefix getting appended to the avro file path which leads to this error inside arrow localfs.cc (RETURN_NOT_OK(ValidatePath(path));) while running demo_example.cc on WIndows while making the PlanFiles() call.

iceberg-reader.exe "C:\iceberg_warehouse\db" sample "C:\iceberg_warehouse\db\sample\metadata\v5.metadata.json"
Failed to plan files: Invalid: Expected a local filesystem path, got a URI: 'file:/C:/iceberg_warehouse/db/sample/metadata/snap-4130091257426129961-1-0b7261a2-d123-4635-82a6-0a5a30e19a06.avro'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.