Skip to content

[BUG] File-Not-Found error is not very accurate when adding vertices/edges #2863

@sighingnow

Description

@sighingnow

Describe the bug

In [1]: import graphscope
g =
In [2]: g = graphscope.g()
Loading empty graph:   0%|          | 0/10 [00:00<?, ?it/s]
Loading empty graph: 100%|██████████| 10/10 [00:00<00:00, 10533.16it/s]

In [3]: g.add_vertices("/a/b/c/d/e/f.txt")
E0612 17:08:26.000000 2668291 /opt/gs-for-build/analytical_engine/core/server/dispatcher.cc:153] Worker 0: VineyardError occurred on worker 0: VineyardError occurred on worker 0: /opt/gs-for-build/analytical_engine/core/loader/arrow_fragment_loader.h:422: operator() -> Arrow error: IOError: Failed to open local file '/a'. Detail: [errno 2] No such file or directory

It says Failed to open local file '/a' however the file should be "/a/b/c/d/e/f.txt". The error message is a bit misleading.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions