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

If you perform an INSERT VERTEX operation without creating the space and tags beforehand, the vertex insertion will not be successful. #271

Closed
zbximo opened this issue Apr 1, 2023 · 2 comments

Comments

@zbximo
Copy link

zbximo commented Apr 1, 2023

General Question

在一个python 程序中,先create space、tag后执行insert VERTEX,插入点不会成功。报错如下:

{'_decode_type': 'utf-8',
 '_resp': ExecutionResponse(
    error_code=-1009,
    latency_in_us=8559,
    space_name=b'test_final',
    error_msg=b"SemanticError: No schema found for `NodeUserInfo'"), '_data_set_wrapper': None, '_all_latency': 34602, '_timezone_offset': 0}

但是如果先用一个程序执行create space,tag,再用一个程序执行insert VERTEX就能成功。

@wey-gu
Copy link
Contributor

wey-gu commented Apr 2, 2023

这是目前的期待行为,文档里有提及,schema 更改(创建、删除、更改space、tag、index),要等最多两个心跳时间才能被更新到所有的服务本地的 schema cache 里。程序里如果设计 ddl 接着 dml ,要在 dml 之前等待一下。

@QingZ11 QingZ11 changed the title 疑似bug 先create space、tag后执行insert VERTEX,插入点不会成功 May 5, 2023
@QingZ11 QingZ11 changed the title 先create space、tag后执行insert VERTEX,插入点不会成功 If you perform an INSERT VERTEX operation without creating the space and tags beforehand, the vertex insertion will not be successful. Sep 18, 2023
@QingZ11
Copy link

QingZ11 commented Sep 18, 2023

@zbximo hi, I have noticed that the issue you created hasn’t been updated for nearly a month, so I have to close it for now. If you have any new updates, you are welcome to reopen this issue anytime.

Thanks a lot for your contribution anyway 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants