Warnings During Property Graph Creation
When creating a property graph, the property graph wizard validates the designed graph and reports any validation errors or warnings.
You can still create a property graph by ignoring these warnings. However, in most cases, the graph cannot be loaded into the in-memory graph server (PGX).
The following table lists the warning messages that are generated during property graph creation.
Warning Message | Reason | How to Fix |
---|---|---|
Vertex table <table_name> has
composite key (<composite_key>) which will prevent
this graph from being loaded into memory.
|
Vertex table cannot have a composite key. Note that this applies only for PGQL property graphs. | If you do not plan to load this graph into the
in-memory graph server (PGX) for analysis, you can ignore this
warning.
Otherwise, to fix this warning, choose one of the following options:
|
Key column <column_name> of
vertex table <table_name> has a data type which
will prevent this graph from being loaded into
memory.
|
Vertex table key must be one of the following types:
|
If you do not plan to load this graph into
the in-memory graph server (PGX) for analysis, you can ignore this
warning.
Otherwise, to fix this warning, you can either:
|
Key column <column_name> of edge
table <table_name> has a data type which will
prevent this graph from being loaded into memory.
|
Edge table key must be one of the following types:
|
If you do not plan to load this graph into the
in-memory graph server (PGX) for analysis, you can ignore this
warning.
Otherwise, to fix this warning, you can either:
|
Column <column_name> of table
<table_name> will prevent this graph from being
loaded into memory.
|
Vertex or edge table columns must be one of the
following types:
|
If you do not plan to load this graph into the
in-memory graph server (PGX) for analysis, you can ignore this
warning.
Otherwise, to fix this warning, choose one of the following options:
|
<Vertex/Edge> table key
column(s) <column_names> in table
(<table_name>) does not have an
index. |
Index is missing in the underlying database table
columns for one or more of the following - vertex key, edge key,
source, and destination key columns.
Graph Studio recommends indexing the key columns to optimize graph query traversals and ensuring faster retrieval of nodes and edges. |
Click Add Index on the warning
message to add index for the specific column. Ensure that you to
have the In this case, if you ignore the warning, the graph will still be loaded into the in-memory graph server (PGX). |
Multiple labels in
|
A vertex or an edge table can have only a single label. | If you do not plan to load this graph into the
in-memory graph server (PGX) for analysis, you can ignore this
warning.
Otherwise, to fix this warning, change your graph definition and make sure each vertex and edge table only declares a single label. |