Skip to content

Column type checks are ignored when create or alter tag | edge. #600

Closed
@boshengchen

Description

Describe the bug
In source parser.yy, the column_spec_list clause is used to create or alter tag | edge, column types require a validation check.

How To Reproduce
Steps to reproduce the behavior:

  1. CREATE TAG person(name, age, married bool)
  2. ALTER TAG person ADD (col1), CHANGE (married), DROP (age int)
  3. CREATE EDGE man(name, age)

Expected behavior
SyntaxError

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions