memgraph / mage

MAGE - Memgraph Advanced Graph Extensions :crystal_ball:
Apache License 2.0
244 stars 24 forks source link

[BUG] neighbors.at_top producer:Query failed: neighbors.at_hop: There are no nodes at hop 1. #374

Closed penghs520 closed 7 months ago

penghs520 commented 11 months ago

Can this return an empty set without throwing an exception

image

adwu73 commented 10 months ago

Because in our case, some node may not have neighbours.. We want to modify the code like this, do you think it will work?

image

matea16 commented 10 months ago

Hi @penghs520 and @adwu73, I see there was a similar conversation on Discord on this. Was the answer helpful, have you been able to resolve your issue?

penghs520 commented 10 months ago

The discord solution hasn't solved my problem yet

mpintaric55334 commented 10 months ago

Hi all. We have decided to implement returning of empty data instead of exception.

katarinasupe commented 8 months ago

@matea16 do you know if this is resolved and can this issue be closed?

matea16 commented 7 months ago

@katarinasupe yes, this issue can be closed, it was resolved with the previously mentioned fix