nebula icon indicating copy to clipboard operation
nebula copied to clipboard

Added support for the List/Set type

Open YZW00 opened this issue 1 year ago • 3 comments

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).

YZW00 avatar Jul 31 '24 14:07 YZW00

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 31 '24 14:07 CLAassistant

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

Salieri-004 avatar Aug 09 '24 08:08 Salieri-004

LGTM. We need to add some doc for this feature. cc. @ChrisChen2023 @abby-cyber

Salieri-004 avatar Oct 16 '24 06:10 Salieri-004