apache / apache/iceberg-cpp

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

未关闭
#341 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
221
派生
124
平均合并
1 天 16 小时
30 天内合并 PR
21

描述

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'

贡献指南

这个仓库没有索引到贡献指南

调研方向

使用 demo_example.cc 和所示的 iceberg-reader.exe 命令重现 Windows 故障,然后跟踪 PlanFiles() 调用进入 arrow localfs.cc 和 ValidatePath(path)。当计划的 Avro 路径被接受为本地文件系统路径而不是 file: URI,并且演示成功完成时,工作即告完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
databases
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。