[BUG] Schema Fetch Failure in Compiler Due to Certain DDL Operations in Groot
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 468
- Avg merge
- 29m
- Merged PRs (30d)
- 1
Description
**Describe the bug**
As titled. This issue is triggered by specific data types, such as float, used in the DDL operations.
e.g., when creating new vertex or edge types with properties of datatype float, the compiler output error logs as follows:
```
2024-12-25 16:53:50.529597049 INFO (/workspaces/GraphScope/interactive_engine/executor/store/groot/src/db/graph/store.rs:252) [unnamed] create_vertex_type
2024-12-25 16:53:50.530113222 INFO (src/store/graph.rs:272) [unnamed] create_vertex_type
2024-12-25 16:53:50.530196446 INFO (/workspaces/GraphScope/interactive_engine/executor/store/groot/src/db/graph/store.rs:252) [unnamed] create_vertex_type
2024-12-25 16:53:50.530683452 INFO (src/store/graph.rs:312) [unnamed] create_edge_type
2024-12-25 16:53:50.530758669 INFO (/workspaces/GraphScope/interactive_engine/executor/store/groot/src/db/graph/store.rs:302) [unnamed] create_edge_type
2024-12-25 16:53:50.531125119 INFO (src/store/graph.rs:345) [unnamed] add_edge_kind
2024-12-25 16:53:50.531184368 INFO (/workspaces/GraphScope/interactive_engine/executor/store/groot/src/db/graph/store.rs:350) [unnamed] add_edge_kind
2024-12-25 16:53:50.531509611 INFO (src/store/graph.rs:312) [unnamed] create_edge_type
2024-12-25 16:53:50.531584404 INFO (/workspaces/GraphScope/interactive_engine/executor/store/groot/src/db/graph/store.rs:302) [unnamed] create_edge_type
2024-12-25 16:53:50.531985117 INFO (src/store/graph.rs:345) [unnamed] add_edge_kind
2024-12-25 16:53:50.532062001 INFO (/workspaces/GraphScope/interactive_engine/executor/store/groot/src/db/graph/store.rs:350) [unnamed] add_edge_kind
[2024-12-25 16:53:51,806][INFO][grpc-worker--2][c.a.g.g.f.SnapshotCache] schema updated. schema version [95]
[2024-12-25 16:53:51,807][INFO][grpc-worker--2][c.a.g.g.f.SnapshotCache] notify listener for snapshot id [2647]
[2024-12-25 16:53:52,227][WARN][pool-17-thread-1][c.a.g.c.i.m.f.DynamicIrMetaFetcher] failed to read meta data, error is {}
java.lang.NullPointerException: null
at com.alibaba.graphscope.common.ir.meta.schema.SchemaSpecManager.convert(SchemaSpecManager.java:107)
at com.alibaba.graphscope.common.ir.meta.schema.SchemaSpecManager.(SchemaSpecManager.java:41)
at com.alibaba.graphscope.common.ir.meta.schema.IrGraphSchema.(IrGraphSchema.java:50)
at com.alibaba.graphscope.groot.servers.ir.GrootIrMetaReader.readMeta(GrootIrMetaReader.java:46)
at com.alibaba.graphscope.common.ir.meta.fetcher.DynamicIrMetaFetcher.syncMeta(DynamicIrMetaFetcher.java:81)
at com.alibaba.graphscope.common.ir.meta.fetcher.DynamicIrMetaFetcher.lambda$new$0(DynamicIrMetaFetcher.java:59)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
[20
```
Contributor guide
Assessment
This issue has not been assessed yet.