From 0212a9570234c9971ebf8303280f861ee6359222 Mon Sep 17 00:00:00 2001 From: Les1ie Date: Fri, 23 Jul 2021 17:17:04 +0800 Subject: [PATCH 1/2] update readme about the support of wildcard filename --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index db7be4a7..e30d8f29 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ The `--config` option in the preceding command is used to pass the path of the Y ### From Docker -If you are using Docker, you don't have to install Go locally. Pull the [Docker image](https://hub.docker.com/r/vesoft/nebula-importer) for Nebula Importer. Mount the local configuration file and the CSV data files into the container and you are done. +If you are using Docker, you don't have to install Go locally. Pull the [Docker image](https://hub.docker.com/r/vesoft/nebula-importer) for Nebula Importer. Mount the local configuration file and the CSV data files into the container and you are done. 1. For Nebula Graph 1.x: @@ -181,7 +181,7 @@ files: One CSV file can only store one type of vertex or edge. Vertices and edges of the different schema must be stored in different files. -* `path`: **Required**. Specifies the path where the data files are stored. If a relative path is used, the `path` and current configuration file directory are spliced. +* `path`: **Required**. Specifies the path where the data files are stored. If a relative path is used, the `path` and current configuration file directory are spliced. Wildcard filename is also supported, for example: `./follower-*.csv`, please make sure that all matching files with the same schema. * `failDataPath`: **Required**. Specifies the path for data that failed in inserting so that the failed data are reinserted. * `batchSize`: **Optional**. Specifies the batch size of the inserted data. The default value is 128. * `limit`: **Optional**. Limits the max data reading rows. From e9317d4e82d9cfec754b124a3dffafa80955b36b Mon Sep 17 00:00:00 2001 From: Les1ie Date: Fri, 23 Jul 2021 20:00:16 +0800 Subject: [PATCH 2/2] docs: update readme, add support data type date/time/datetime --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e30d8f29..5dc6fbeb 100644 --- a/README.md +++ b/README.md @@ -239,7 +239,7 @@ Each tag contains the following two properties: * `name`: The tag name. * `prop`: A property of the tag. Each property contains the following two fields: * `name`: **Required**. The property name, must be the same with the tag property in Nebula Graph. - * `type`: **Optional**. The property type, currently `bool`, `int`, `float`, `double`, `timestamp`, and `string` are supported. + * `type`: **Optional**. The property type, currently `bool`, `int`, `float`, `double`, `string`, `time`, `timestamp`, `date` and `datetime` are supported. * `index`: **Optional**. The column number in the CSV file. > **NOTE**: The properties in the preceding `prop` parameter must be sorted in the **same** way as in the CSV data file. @@ -315,7 +315,7 @@ The format for each column is `.:`: * `` is the name for the vertex or edge. * `` is the property name. -* `` is the property type. It can be `bool`, `int`, `float`, `double`, `string`, and `timestamp`. The default type is `string`. +* `` is the property type. It can be `bool`, `int`, `float`, `double`, `string`, `time`, `timestamp`, `date` and `datetime`. The default type is `string`. In the above `` field, the following keywords contain special semantics: