Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alter tag with [default] not working. #1987

Closed
Qubutol opened this issue Mar 26, 2020 · 2 comments · Fixed by #2003
Closed

alter tag with [default] not working. #1987

Qubutol opened this issue Mar 26, 2020 · 2 comments · Fixed by #2003
Assignees
Labels
priority/med-pri Priority: medium

Comments

@Qubutol
Copy link

Qubutol commented Mar 26, 2020

Describe the bug (must be provided)

I using alter tag with [default],it’s still not working.

Your Environments (must be provided)

  • OS: centos7
  • nebula-2020.03.20-nightly.el7-5.x86_64

How To Reproduce(must be provided)

Steps to reproduce the behavior:

  1. Step 1
create tag t2 (name string default "N/A", age int default -1);
INSERT VERTEX t2() VALUES 11:();
fetch prop on t2 11;

I got:
image
2. Step 2
and then,I execute:

ALTER tag t2 add (description string default "none");
fetch prop on t2 11

I got:
image
3. Step 3
exectue:

INSERT VERTEX t2() VALUES 11:()

give me a error message:

[ERROR (-8)]: `description' not exist default value

Expected behavior

t2.description have a default value .

@Shylock-Hg Shylock-Hg self-assigned this Mar 26, 2020
@Shylock-Hg
Copy link
Contributor

Same for edge.

@Shylock-Hg
Copy link
Contributor

Shylock-Hg commented Mar 26, 2020

Alter don't write default value in graph and meta layer, fix it :)

@Shylock-Hg Shylock-Hg added the priority/med-pri Priority: medium label Mar 27, 2020
yixinglu pushed a commit to yixinglu/nebula that referenced this issue Jan 31, 2023
* Disable breakpad when build arm package

Separate arm build package job

* Update rc.yml

fix grammatical errors

* Update rc.yml

fix needs info

* Canceled the test dependency arm_package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/med-pri Priority: medium
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants