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

Fix undefined parameter #5404

Merged
merged 4 commits into from
Mar 17, 2023

Conversation

czpmango
Copy link
Contributor

@czpmango czpmango commented Mar 16, 2023

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

https://github.com/vesoft-inc/nebula-ent/issues/2485

Checklist:

Tests:

  • Unit test(positive and negative cases)
  • Function test
  • Performance test
  • N/A

Affects:

  • Documentation affected (Please add the label if documentation needs to be modified.)
  • Incompatibility (If it breaks the compatibility, please describe it and add the label.)
  • If it's needed to cherry-pick (If cherry-pick to some branches is required, please label the destination version(s).)
  • Performance impacted: Consumes more CPU/Memory

@czpmango czpmango added the ready-for-testing PR: ready for the CI test label Mar 16, 2023
@czpmango czpmango force-pushed the fix/lookup-undifined-parameter branch 3 times, most recently from 7bb5bb6 to e7943e2 Compare March 16, 2023 07:59
@czpmango czpmango marked this pull request as ready for review March 16, 2023 07:59
@czpmango czpmango requested review from jievince, Shylock-Hg and yixinglu and removed request for Shylock-Hg March 16, 2023 08:00
@czpmango czpmango requested a review from Aiee March 16, 2023 08:01
@czpmango czpmango added ready-for-testing PR: ready for the CI test and removed ready-for-testing PR: ready for the CI test labels Mar 16, 2023
Fix tck

Fix tck

small skip for ldbc tck

fmt
@czpmango czpmango force-pushed the fix/lookup-undifined-parameter branch from 7eab1d6 to 2217400 Compare March 16, 2023 08:49
@czpmango czpmango added ready-for-testing PR: ready for the CI test and removed ready-for-testing PR: ready for the CI test labels Mar 16, 2023
jievince
jievince previously approved these changes Mar 16, 2023
yixinglu
yixinglu previously approved these changes Mar 16, 2023
Copy link
Contributor

@yixinglu yixinglu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@czpmango czpmango dismissed stale reviews from yixinglu and jievince via 1764ec4 March 16, 2023 12:16
jievince
jievince previously approved these changes Mar 17, 2023
std::accumulate(++undefinedParams.begin(),
undefinedParams.end(),
*undefinedParams.begin(),
[](auto& lhs, auto& rhs) { return lhs + ", " + rhs; }));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

u could use folly::join to concat the string array 😂

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

std::accumulate is also okey, folly lib sounds a little heavy.

@Sophie-Xie Sophie-Xie merged commit 9fee385 into vesoft-inc:master Mar 17, 2023
yixinglu pushed a commit to yixinglu/nebula that referenced this pull request Sep 14, 2023
* Fix undefined parameter

Fix tck

Fix tck

small skip for ldbc tck

fmt

* small change

* Fix error message

* small change

Co-authored-by: kyle.cao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants