question

swami03 avatar image
swami03 asked swami03 commented

How do I add schema properties in Graph for DSE 6.8?

I need to move existing classic schema to core engine schema. I am not able to add schema properties and edge label supports with multiple properties.

Is there a migration tool move current schema to 6.8 schema?

dsegraph
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

bettina.swynnerton avatar image
bettina.swynnerton answered swami03 commented

Hi @swami03,

multiple cardinality properties (multi properties in short) are no longer supported in DSE 6.8 core graph.

You can model them with collections, such as sets, lists and maps.

This is not without caveat though: any modification to a such a property then requires to read the whole collection first and rewrite all values with the modification.

Have a look at this discussion, where a user discusses their need for multi properties and how to work with the collections in DSE 6.8 core graph:

https://community.datastax.com/questions/7080/dse-68-how-to-adddelete-properties-udt-which-are-i.html

I'll check what migration tools are available and will update this answer with more information after the weekend.

1 comment Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

swami03 avatar image swami03 commented ·

Thank you Bettina

0 Likes 0 ·