8000 [PREG-207] Use struct for pregel options by jvolmer · Pull Request #17925 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

[PREG-207] Use struct for pregel options #17925

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

Conversation

jvolmer
Copy link
Contributor
@jvolmer jvolmer commented Jan 12, 2023

Uses a struct for the pregel options instead of handling everything with a velocypack.
Extracting the pregel parameters (e.g. "store", "shartKeyAttribute", ...) is a bit more work because it involves using structs in all algorithms for their algorithm-specific parameters instead of plain velocypack, therefore this will be done later in another PR.

Additionally, I moved the code that processes the options from the REST handler into the feature, such that the REST handler is doing no business work and processing the options is done at one place: The feature.

@jvolmer jvolmer added the 3 Pregel Graph processing label Jan 12, 2023
@jvolmer jvolmer requested a review from markuspf January 12, 2023 13:04
8000
@jvolmer jvolmer self-assigned this Jan 12, 2023
@jvolmer jvolmer requested a review from a team January 12, 2023 13:04
@cla-bot cla-bot bot added the cla-signed label Jan 12, 2023
Copy link
Contributor
@markuspf markuspf left a comment

Choose a reason for hiding this comment

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

LGTM

@markuspf markuspf merged commit 16903f3 into devel Jan 16, 2023
@markuspf markuspf deleted the feature/preg-207-use-struct-for-pregel-input-parameters branch January 16, 2023 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 Pregel Graph processing cla-signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0