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

Using the same statement to return same vertex different properties, the results show BAD TYPE #4076

Closed
QingZ11 opened this issue Mar 24, 2022 · 0 comments
Assignees
Labels
community Source: who proposed the issue type/bug Type: something is unexpected
Milestone

Comments

@QingZ11
Copy link
Contributor

QingZ11 commented Mar 24, 2022

  • version: v3.0.1
  • description

query 1:

MATCH (m:Movie) WHERE id(m) == 'abc' 
MATCH (m)<--(e) 
RETURN m.Movie.name as name, collect({name: e.Actor.name}) as actor

result
image

query 2:

MATCH (m:Movie) WHERE id(m) == 'abc' 
MATCH (m)<--(e) 
RETURN {name: m.Movie.name, actor: collect({name: e.Actor.name})} as movie

result
image

ref: https://discuss.nebula-graph.com.cn/t/topic/7972

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Source: who proposed the issue type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

3 participants