diff --git a/src/common/filter/Expressions.cpp b/src/common/filter/Expressions.cpp index c6df2daaf21..7534b1d73c2 100644 --- a/src/common/filter/Expressions.cpp +++ b/src/common/filter/Expressions.cpp @@ -118,11 +118,16 @@ Expression::decode(folly::StringPiece buffer) noexcept { std::string AliasPropertyExpression::toString() const { std::string buf; buf.reserve(64); - if (ref_ != nullptr && *ref_ != "" && *ref_ != VAR_REF) { + if (ref_ != nullptr) { buf += *ref_; } - if (alias_ != nullptr && *alias_ != "") { + if (*ref_ != "" && *ref_ != VAR_REF) { + buf += "."; + } + if (alias_ != nullptr) { buf += *alias_; + } + if (*alias_ != "") { buf += "."; } if (prop_ != nullptr) { diff --git a/src/graph/GoExecutor.cpp b/src/graph/GoExecutor.cpp index 201b579637f..f4f383fc324 100644 --- a/src/graph/GoExecutor.cpp +++ b/src/graph/GoExecutor.cpp @@ -431,7 +431,7 @@ void GoExecutor::stepOut() { // TODO: not support filter pushdown in reversely traversal now. filterPushdown = whereWrapper_->filterPushdown_; } - auto future = ectx()->storage()->getNeighbors(spaceId, + auto future = ectx()->getStorageClient()->getNeighbors(spaceId, starts_, edgeTypes_, filterPushdown,