Skip to content

Return value is Empty set #4834

Closed
Closed
@llinzhe

Description

@llinzhe

Describe the bug (required)
When the session does not select the graph space, using the graph space selection statement and data query statement, the return value is null.

Your Environments (required)

  • OS: centos 7
  • Compiler: g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
    How To Reproduce(required)

Steps to reproduce the behavior:

(root@nebula) [(none)]> :param p0 => 'account001';
(root@nebula) [(none)]> yield $p0
+--------------+
| $p0          |
+--------------+
| "account001" |
+--------------+
Got 1 rows (time spent 325/768 us)

(root@nebula) [(none)]> use userProfile;  MATCH (n1: account)-[r: login*2]-( n2: account) WHERE  n1.account.accountUuid ==$p0  RETURN n2.account.accountUuid as accountUuid
+-------------+
| accountUuid |
+-------------+
+-------------+

Expected behavior
I expect the graph space selection statement to be executed along with the data query statement and return the query result

Additional context
nebula-core:3.3

Metadata

Metadata

Assignees

Labels

affects/nonePR/issue: this bug affects none version.need infoSolution: need more information (ex. can't reproduce)process/doneProcess of bugseverity/noneSeverity of bugtype/bugType: something is unexpected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions