8000 Feature/hybrid smart graph api by hkernbach · Pull Request #14037 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Feature/hybrid smart graph api #14037

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

Merged
merged 22 commits into from
Apr 22, 2021

Conversation

hkernbach
Copy link
Member

Scope & Purpose

Basic API adjustments to be able to create hybrid smart graphs.

  • 🍕 New feature (requires CHANGELOG entry, feature documentation and release notes)

Copy link
Member
@mchacki mchacki left a comment

Choose a reason for hiding this comment

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

Please see comments.
We may need to talk offline about some please ping me

@hkernbach hkernbach requested a review from mchacki April 22, 2021 10:48
Copy link
Member
@mchacki mchacki left a comment

Choose a reason for hiding this comment

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

One bug inside.
Everything else LGTM

} else {
documentCollectionsToCreate.emplace(vertexColl);
}
if (graph->isHybrid() &&
Copy link
Member

Choose a reason for hiding this comment

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

I think this is now broken.
You merged 3 ifs not 2.

The behavior should be the following:
if vertexCol is in edgeCollectionsToCreate => Do nothing
else if hybrid() and vertexCol is in satelliteCollections => emplace in satelliteToCreate
else emplace in documentsToCreate

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for spotting, done.

Copy link
Member
@mchacki mchacki left a comment

Choose a reason for hiding this comment

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

LGTM

@mchacki mchacki merged commit e951cba into feature/hybrid-smart-graph Apr 22, 2021
@mchacki mchacki deleted the feature/hybrid-smart-graph-api branch April 22, 2021 11:22
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.

2 participants
0