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

match get vertices error #3505

Closed
Shylock-Hg opened this issue Dec 20, 2021 · 2 comments · Fixed by #3507
Closed

match get vertices error #3505

Shylock-Hg opened this issue Dec 20, 2021 · 2 comments · Fixed by #3507
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@Shylock-Hg
Copy link
Contributor

Shylock-Hg commented Dec 20, 2021

Please check the FAQ documentation before raising an issue

Describe the bug (required)

(root@nebula) [basketballplayer]> MATCH ()-[e:follow]-() RETURN e LIMIT 10
+----------------------------------------------------+
| e                                                  |
+----------------------------------------------------+
| [:follow "player101"->"player102" @0 {degree: 90}] |
| [:follow "player103"->"player102" @0 {degree: 70}] |
| [:follow "player135"->"player102" @0 {degree: 80}] |
| [:follow "player113"->"player106" @0 {degree: 99}] |
| [:follow "player114"->"player115" @0 {degree: 90}] |
| [:follow "player138"->"player115" @0 {degree: 90}] |
+----------------------------------------------------+
Got 6 rows (time spent 2789/3468 us)

There are more than 10 edges, but don't return so many rows.

Your Environments (required)

  • OS: uname -a
  • Compiler: g++ --version or clang++ --version
  • CPU: lscpu
  • Commit id (e.g. e6ddeb2)

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

@Shylock-Hg Shylock-Hg added the type/bug Type: something is unexpected label Dec 20, 2021
@Shylock-Hg Shylock-Hg self-assigned this Dec 20, 2021
@Shylock-Hg
Copy link
Contributor Author

Separate from #3494

@Shylock-Hg
Copy link
Contributor Author

Shylock-Hg commented Dec 20, 2021

It's caused by we get inbound/outbound edges together. So we will get result from storage like:

follow._src|follow._type|follow._rank|follow._dst|follow.degree|follow._src|follow._type|follow._rank|follow._dst|follow.degree|
__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|"player102"|8|0|"player100"|75|
__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|"player102"|8|0|"player101"|75|
"player102"|-8|0|"player101"|90|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|
"player102"|-8|0|"player103"|70|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|
"player102"|-8|0|"player135"|80|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|
"player106"|-8|0|"player113"|99|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|
"player115"|-8|0|"player114"|90|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|
"player115"|-8|0|"player138"|90|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|
__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|"player129"|8|0|"player116"|90|
__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|__EMPTY__|"player129"|8|0|"player121"|90|

So get edges will result some unexpected error for the duplicate column name.

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

Successfully merging a pull request may close this issue.

1 participant