-
Notifications
You must be signed in to change notification settings - Fork 85
/
struct_hdfs.json
37 lines (37 loc) · 946 Bytes
/
struct_hdfs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"vertices": [
{
"label": "person",
"input": {
"type": "${source_type}",
"path": "${store_path}/vertex_person.csv",
"core_site_path": "src/test/resources/hdfs_with_core_site_path/core-site.xml",
"format": "CSV",
"header": ["name", "age", "city"],
"charset": "UTF-8",
"skipped_line": {
"regex": "(^#|^//).*"
}
},
"null_values": ["NULL", "null", ""]
}
],
"edges": [
{
"label": "knows",
"source": ["source_name"],
"target": ["target_name"],
"input": {
"type": "${source_type}",
"path": "${store_path}/edge_knows.json",
"core_site_path": "src/test/resources/hdfs_with_core_site_path/core-site.xml",
"format": "JSON",
"date_format": "yyyy-MM-dd HH:mm:ss"
},
"field_mapping": {
"source_name": "name",
"target_name": "name"
}
}
]
}