Skip to content

Commit a1413f4

Browse files
Victor LeeVictor Lee
Victor Lee
authored and
Victor Lee
committed
DOC-1906-warning-empty-primary-id 3.6
1 parent b9dee24 commit a1413f4

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

modules/ddl-and-loading/pages/defining-a-graph-schema.adoc

+7
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@ If you have a single attribute which serves as your primary key, use the `PRIMAR
8787
This gives you the flexibility of option 2 with the GraphStudio compatibility of option 1.
8888
====
8989

90+
[IMPORTANT]
91+
====
92+
When loading or inserting vertices, take care not to accidentally leave the primary ID field empty.
93+
94+
* Prior to version 3.9.2, an empty primary ID field is accepted as valid. From 3.9.2+, it will be rejected.
95+
====
96+
9097
Regardless of which option is selected, GSQL automatically creates a hash index of the key for fast O(1) searches.
9198

9299
The syntax for the three options are summarized below.

modules/ddl-and-loading/partials/load-statement.adoc

+7
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ If the vertex data is loaded later, it will be automatically merged with the aut
6464
The user can disable this feature and perform regular referential integrity checking by setting the `VERTEX_MUST_EXIST` option to `true`.
6565
====
6666

67+
[IMPORTANT]
68+
====
69+
When loading or inserting vertices, take care not to accidentally leave the primary ID field empty.
70+
71+
* Prior to version 3.6.3, an empty primary ID field is accepted as valid. From 3.6.3+, it will be rejected.
72+
====
73+
6774
=== Examples
6875

6976
Suppose we have the following vertex and edge types:

0 commit comments

Comments
 (0)