Skip to content

Commit

Permalink
fix spark doc (vesoft-inc#1904)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaphet authored Mar 11, 2020
1 parent 70f14b2 commit 662e7dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Player 表结构如下:
}
# 处理标签
tags: {
tags: [
# 从 HDFS 文件加载数据, 此处数据类型为 Parquet
# tag 名称为 tag name 0
Expand Down Expand Up @@ -235,10 +235,10 @@ Player 表结构如下:
}
vertex: vertex_id_field
}
}
]
# 处理边
edges: {
edges: [
# 从 HDFS 加载数据,数据类型为 JSON
# 边名称为 edge_name_0
# HDFS JSON 文件中的 field_0、field_1、field 2 将被写入 edge_name_0
Expand Down Expand Up @@ -271,7 +271,7 @@ Player 表结构如下:
source: source_id_field
target: target_id_field
}
}
]
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Example of a mapping file for the input source:
}
# Processing tags
tags: {
tags: [
# Loading tag from HDFS and the data type is parquet.
# The tag's name is tag_name_0.
Expand Down Expand Up @@ -235,10 +235,10 @@ Example of a mapping file for the input source:
}
vertex: vertex_id_field
}
}
]
# Processing edges
edges: {
edges: [
# Loading edge from HDFS and data type is JSON.
# The edge's name is edge_name_0.
# field_0, field_1 and field_2 from HDFS's JSON file are written into edge_name_0
Expand Down Expand Up @@ -271,7 +271,7 @@ Example of a mapping file for the input source:
source: source_id_field
target: target_id_field
}
}
]
}
```

Expand Down

0 comments on commit 662e7dc

Please sign in to comment.