Support Fields API in conditional ingest processors#131581
Support Fields API in conditional ingest processors#131581eyalkoren merged 8 commits intoelastic:mainfrom
Conversation
Fixing whitelist Fix access to dotted field from source in yaml test Separate field access and field modification APIs Extending yaml test to cover all field access APIs Separate WriteField and SourceMapField tests Add test verifying that iterator() API does not allow removal Small test change Caching script instance instead of script factory Update docs/changelog/121914.yaml Initial review changes Removing params from execute Remove todo Removing Field's methods from whitelists [CI] Auto commit changes from spotless Not relying on specific error type in yaml test
|
Pinging @elastic/es-core-infra (Team:Core/Infra) |
|
Hi @eyalkoren, I've created a changelog YAML for you. |
…st-processors-2' into support-dotted-fields-in-ingest-processors-2
|
💚 CLA has been signed |
|
@jdconrad I just realized that I would argue that |
jdconrad
left a comment
There was a problem hiding this comment.
This looks good to me. Definitely seems cleaner to use the factory instead anyway :).
|
Immutability vs performance has been challenging to balance appropriately with some of the input data structures to scripts in general. I would hope that once most users reach scripting the expectations change a bit where users are expected to have a larger knowledge base to prevent incompatible mutations. |
Retrying to add field API support for conditional ingest processors.
@jdconrad I propose a review from fresh, as it is a small one.
Apart from the other things we discussed, note that
SourceMapFieldScriptdoesn't implementgetMetadata, I am not sure if there are implications for that.