From f7b43916ec5c5ac1a8a3f6b1e4428ade25386939 Mon Sep 17 00:00:00 2001 From: Wey Gu <1651790+wey-gu@users.noreply.github.com> Date: Mon, 20 Dec 2021 17:20:20 +0800 Subject: [PATCH 1/2] Update README.md Added doc for `schema.vertex.vid.type`. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e2771046..1e256ea8 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,7 @@ schema: * `index`: **Optional**. The column number in the CSV file. Started with 0. The default value is 0. * `function`: **Optional**. Functions to generate the VIDs. Currently, we only support function `hash` and `uuid`. +* `type`: **Optional**. The type for VIDs. The default value is `string`. ##### `schema.vertex.tags` From ee99384aa440ff03d4b934e1d6d790519c9e1b82 Mon Sep 17 00:00:00 2001 From: Wey Gu <1651790+wey-gu@users.noreply.github.com> Date: Tue, 21 Dec 2021 11:38:49 +0800 Subject: [PATCH 2/2] Update configuration-reference.md Added type in ref docs --- docs/configuration-reference.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/configuration-reference.md b/docs/configuration-reference.md index ebb16fbc..c617b9c7 100644 --- a/docs/configuration-reference.md +++ b/docs/configuration-reference.md @@ -34,8 +34,10 @@ | files[0].schema.edge | Edge options | - | | files[0].schema.edge.srcVID.index | Column index of source vertex id of edge | 0 | | files[0].schema.edge.srcVID.function | The generation function of edge source vertex id | "" | +| files[0].schema.edge.srcVID.type | Type of source vertex id of edge | 0 | | files[0].schema.edge.dstVID.index | Column index of destination vertex id of edge | 1 | | files[0].schema.edge.dstVID.function | The generation function of edge destination vertex id | "" | +| files[0].schema.edge.dstVID.type | Type of destination vertex id of edge | 1 | | files[0].schema.edge.rank.index | Column index of the edge rank | 2 | | files[0].schema.edge.name | Edge name in above space | "" | | files[0].schema.edge.props | Properties of the edge | - | @@ -45,6 +47,7 @@ | files[0].schema.vertex | Vertex options | - | | files[0].schema.vertex.vid.index | Column index of vertex vid | 0 | | files[0].schema.vertex.vid.function | The generation function of vertex vid | "" | +| files[0].schema.vertex.vid.type | The type of vertex vid | "string" | | files[0].schema.vertex.tags | Vertex tags options | - | | files[0].schema.vertex.tags[0].name | Vertex tag name | "" | | files[0].schema.vertex.tags[0].props | Vertex tag's properties | - |