Elssky commented on issue #660: URL: https://github.com/apache/incubator-graphar/issues/660#issuecomment-2503108027
Here is a yml example for multi-property, We introduce `is_multiple` field to distinguish a property whether it is multiple-property ``` yml # person.vertex.yaml type: person chunk_size: 1024 prefix: vertex/person/ property_groups: - properties: - name: id data_type: int64 is_primary: true # primary property can not be multiple is_multiple: false prefix: id/ file_type: csv - properties: - name: name data_type: string is_primary: false is_multiple: true - name: skill data_type: list is_primary: false is_multiple: false prefix: name_age/ file_type: csv version: gar/v1 ``` Given a vertex as follows ``` xsl id|name|skill 2|'craig','dave'|'guitar','boxing' # or like this # 2|'craig','dave'|['guitar','boxing'] ``` In this example, the type of `name` is string, and the value of `is_multiple` is `true`, so if you search person with **name** `'craig'` or`'dave'`, you can get this vertex. The type of `skill` is list, and the value of `is_multiple` is `false`, if you search person with **skill** `['guitar', 'boxing']`, you can get this vertex. However, if you search person with skill `'guitar'` or `'boxing'`, it not works -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@graphar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@graphar.apache.org For additional commands, e-mail: commits-h...@graphar.apache.org