From debdd874e6e10be83fcd7a42de02605e47d34c54 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 22 Feb 2023 18:05:09 +0800 Subject: [PATCH] dataset: move fraud_detection to solution & remove atomic_edge field (#480) (#482) * dataset: move fraud_detection to solution * remove incompatibility field atomic_edge fix: #479 Co-authored-by: Wey Gu --- app/pages/Welcome/index.tsx | 6 +++--- public/datasets/datalineage.ngql | 2 +- public/datasets/id_mapping.ngql | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/pages/Welcome/index.tsx b/app/pages/Welcome/index.tsx index 1be90b67..65eea80d 100644 --- a/app/pages/Welcome/index.tsx +++ b/app/pages/Welcome/index.tsx @@ -162,7 +162,7 @@ const getDatasetList = (): DatasetItem[] => { { type: 'starter', tags: ['starter'], - spaceName: 'demo_datalineage', + spaceName: 'demo_data_lineage', fileName: 'datalineage', rename: undefined as unknown as string, detail: { @@ -199,8 +199,8 @@ const getDatasetList = (): DatasetItem[] => { docLink: intl.get('welcome.idMappingDocLink'), }, { - type: 'starter', - tags: ['starter'], + type: 'solution', + tags: ['solution'], spaceName: 'demo_fraud_detection', fileName: 'fraud_detection', rename: undefined as unknown as string, diff --git a/public/datasets/datalineage.ngql b/public/datasets/datalineage.ngql index 3ac6d9e3..36af93a9 100644 --- a/public/datasets/datalineage.ngql +++ b/public/datasets/datalineage.ngql @@ -1,4 +1,4 @@ -CREATE SPACE IF NOT EXISTS `demo_data_lineage` (partition_num = 3, replica_factor = 1, charset = utf8, collate = utf8_bin, vid_type = FIXED_STRING(256), atomic_edge = false) comment="https://www.siwei.io/data-lineage-oss-ref-solution/"; +CREATE SPACE IF NOT EXISTS `demo_data_lineage` (partition_num = 3, replica_factor = 1, charset = utf8, collate = utf8_bin, vid_type = FIXED_STRING(256)) comment="https://www.siwei.io/data-lineage-oss-ref-solution/"; :sleep 10; USE `demo_data_lineage`; CREATE TAG IF NOT EXISTS `Application` ( `name` string NULL, `id` string NULL, `application_url` string NULL, `description` string NULL, `published_tag` string NULL, `publisher_last_updated_epoch_ms` timestamp NULL) ttl_duration = 0, ttl_col = ""; diff --git a/public/datasets/id_mapping.ngql b/public/datasets/id_mapping.ngql index 18c3a353..400fe414 100644 --- a/public/datasets/id_mapping.ngql +++ b/public/datasets/id_mapping.ngql @@ -1,4 +1,4 @@ -CREATE SPACE IF NOT EXISTS `demo_identity_resolution` (partition_num = 3, replica_factor = 1, charset = utf8, collate = utf8_bin, vid_type = FIXED_STRING(256), atomic_edge = false) comment="https://www.siwei.io/identity-resolution/"; +CREATE SPACE IF NOT EXISTS `demo_identity_resolution` (partition_num = 3, replica_factor = 1, charset = utf8, collate = utf8_bin, vid_type = FIXED_STRING(256)) comment="https://www.siwei.io/identity-resolution/"; :sleep 10; USE `demo_identity_resolution`; CREATE TAG IF NOT EXISTS `user` (`name` string NOT NULL, `email` string NOT NULL, `phone_num` string NOT NULL, `birthday` date NOT NULL, `address` string NOT NULL);