nebula-graph

SHOW CREATE TAG fails in NebulaGraph database


I'm testing with NebulaGraph database version 3.1.2 and NebulaGraph Explorer version 3.2.0.

When running SHOW TAGS, I could see the tag Comment listed. But when I tried to run SHOW CREATE TAG Comment, the console returned -1005:Tag not existed! I don't understand why that is happening.

Screenshots:

enter image description here

enter image description here


Solution

  • As discussed with @randomv in comments, it turned out Comment is a keyword in NebulaGraph, thus we need to escape it with `, then the lines should be:

    SHOW CREATE TAG `Comment`;