-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
RC4 Cherrypick #2031 #2042 #2025 #2013 #2038 #2051
Conversation
Co-authored-by: dutor <440396+dutor@users.noreply.github.com> (cherry picked from commit 3423df1)
Co-authored-by: dutor <440396+dutor@users.noreply.github.com> (cherry picked from commit eea7407)
* Sampling from all edges. * Update test for sampling multi edges. * Testing both inbound and outbound. * Fix clang compiling problem. * Update the sampling. Co-authored-by: dutor <440396+dutor@users.noreply.github.com> (cherry picked from commit 8810ecc)
* Fix the error when vertex/edge not exist if update. * Optimize the atomic error logical. * Fix one alignment. Co-authored-by: dutor <440396+dutor@users.noreply.github.com> (cherry picked from commit 9fc4e7f)
@@ -142,7 +142,7 @@ nebula::cpp2::SupportedType TraverseExecutor::calculateExprType(Expression* exp) | |||
case Expression::kInputProp: { | |||
auto* propExp = static_cast<const AliasPropertyExpression*>(exp); | |||
const auto* propName = propExp->prop(); | |||
if (inputs_ == nullptr) { | |||
if (inputs_ == nullptr || !inputs_->hasData()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if inputs_ == nullptr , Is it will leads to crash by inputs_->hasData()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think won't because the short circuit ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
…at. (vesoft-inc#2038) * Correct issue 2009 which the timestamp default value for edge not treat. * Add the cover cases. * Fix one typo. Co-authored-by: dutor <440396+dutor@users.noreply.github.com> (cherry picked from commit 4aa9217)
Codecov Report
@@ Coverage Diff @@
## v1.0.0-rc4 #2051 +/- ##
=============================================
Coverage ? 86.73%
=============================================
Files ? 641
Lines ? 61104
Branches ? 0
=============================================
Hits ? 52998
Misses ? 8106
Partials ? 0 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Cherrypick #2031 #2042 #2025 #2013 #2038