vesoft-inc / nebula

A distributed, fast open-source graph database featuring horizontal scalability and high availability
https://nebula-graph.io
Apache License 2.0
10.68k stars 1.2k forks source link

Added support for the List/Set type #5914

Open YZW00 opened 2 months ago

YZW00 commented 2 months ago

For one-dimensional data of type List/Set: List_string, List_int, List_float, Set_string, Set_int, Set_float:

  1. Support attributes defined as List /Set data types.

  2. Use the List /Set data type for storage.

  3. The List /Set data type can be filtered during query.

  4. Attributes of the List /Set data type can be returned when the query is supported.

  5. Added UPDATE statement to modify (REPLACE) and remove (ERASE) specified elements in List/Set types.

  6. Added UPDATE statement to insert new data into List/Set: List = List + value, Set = SADD(Set, value).

CLAassistant commented 2 months ago

CLA assistant check
All committers have signed the CLA.

Salieri-004 commented 1 month ago

Thanks for your help. You can add some tests for your new features according to the following articles. https://discuss.nebula-graph.com.cn/t/topic/4172 https://discuss.nebula-graph.com.cn/t/topic/4594