Skip to content

Support Fields API in conditional ingest processors #131581

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

eyalkoren
Copy link
Contributor

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 SourceMapFieldScript doesn't implement getMetadata, I am not sure if there are implications for that.

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
@eyalkoren eyalkoren requested a review from jdconrad July 20, 2025 14:07
@eyalkoren eyalkoren self-assigned this Jul 20, 2025
@eyalkoren eyalkoren requested a review from a team as a code owner July 20, 2025 14:07
@eyalkoren eyalkoren added :Core/Infra/Core Core issues without another label v9.2.0 labels Jul 20, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Jul 20, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine
Copy link
Collaborator

Hi @eyalkoren, I've created a changelog YAML for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >enhancement Team:Core/Infra Meta label for core/infra team v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants