From 50272c4f15effadec3923b0761e22ea1b61d2c5d Mon Sep 17 00:00:00 2001 From: Alex Xing <90179377+SuperYoko@users.noreply.github.com> Date: Mon, 24 Jan 2022 17:43:59 +0800 Subject: [PATCH] Fix iterator with snapshot(parameter position) (#3785) Co-authored-by: Harris.Chu <1726587+HarrisChu@users.noreply.github.com> Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com> --- src/graph/context/Iterator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/graph/context/Iterator.h b/src/graph/context/Iterator.h index 1a89b12d175..7fbef0279dc 100644 --- a/src/graph/context/Iterator.h +++ b/src/graph/context/Iterator.h @@ -288,9 +288,9 @@ class GetNeighborsIter final : public Iterator { void sample(int64_t count) override; - size_t size() const override { - LOG(FATAL) << "Unimplemented method for Get Neighbros iterator."; - } + size_t size() const override; + + size_t numRows() const; const Value& getColumn(const std::string& col) const override;