CAN NOT CREATE TAG HAS A PROPERTY WHOSE TYPE IS MAP #4997
PhungQuocLuong-git
started this conversation in
General
Replies: 2 comments
-
Dear @PhungQuocLuong-git Welcome to the nebulagraph community, those composite datatype can be only supported on the fly during the query, and cannot be as prop data type for now in NebulaGraph, if you anyway would like to use it, could consider flattening them as separated props or as JSON_STRING(there is a json_extract function to parse that when we have to use). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I trying to create a tag has a map-type-property:
CREATE TAG IF NOT EXISTS measurement(data map{unit: string, amount: string, family: string}, locale string);
But I have an error:
-1004:SyntaxError: syntax error near `map'
Please help me.
Beta Was this translation helpful? Give feedback.
All reactions