GitHub user acezen edited a comment on the discussion: fail to run example 
high_level_writer_example

I have reproduce the problem:
<img width="815" alt="截屏2024-04-19 19 13 31" 
src="https://github.com/apache/incubator-graphar/assets/11835645/b8d50052-32be-4709-977c-77339337504c";>

It seems that you has passed the wrong adj list in **LINE 58**, which should be 
`ordered_by_source`(same with the the edge info), but you passed 
`ordered_by_dst`.

```c++
    graphar::builder::EdgesBuilder builder(
            edge_info, 
"/home/chenyinbo/cppject/graphar-example/generate-temp/", 
graphar::AdjListType::ordered_by_dest, vertex_count);
```

And btw, now the property group is independent from adj list, try update the 
`person_knows_person.edge.yml` to:
```yaml
src_label: person
edge_label: knows
dst_label: person
chunk_size: 1024
src_chunk_size: 100
dst_chunk_size: 100
directed: false
prefix: edge/person_knows_person/
adj_lists:
  - ordered: true
    aligned_by: src
    file_type: csv
property_groups:
  - file_type: csv
    properties:
      - name: creationDate
        data_type: string
        is_primary: false
version: gar/v1


GitHub link: 
https://github.com/apache/incubator-graphar/discussions/457#discussioncomment-9165534

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to