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

Add set function to mutate #99

Open
suyograo opened this issue Jun 9, 2017 · 0 comments
Open

Add set function to mutate #99

suyograo opened this issue Jun 9, 2017 · 0 comments

Comments

@suyograo
Copy link
Contributor

suyograo commented Jun 9, 2017

To match ingest node's set processor functionality, add set { } in mutate. This would mirror ingest behavior of inserting, upserting, or updating the field.

Mutate's existing update will only update if the field exists. An option is to fold the set behavior into update but that will be a breaking change.

If we introduce set, we can deprecate update

@suyograo suyograo changed the title Add set function for mutate Add set function to mutate Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant