Skip to content

feat(map): Add completion config, BatchResult serialization, and thread-safe map execution#214

Merged
zhongkechen merged 1 commit intomainfrom
map_feature_2
Mar 14, 2026
Merged

feat(map): Add completion config, BatchResult serialization, and thread-safe map execution#214
zhongkechen merged 1 commit intomainfrom
map_feature_2

Conversation

@ayushiahjolia
Copy link
Copy Markdown
Contributor

…ad-safe map execution

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Issue Link, if available

#39

Description

Improve MapOperation reliability by moving branch completion handling to CompletableFuture callbacks, tracking started branches explicitly, and checkpointing results synchronously from the context thread.

Add Jackson annotations to BatchResult for checkpoint serialization with graceful deserialization of errors. Add factory methods to CompletionConfig (minSuccessful, toleratedFailureCount, toleratedFailurePercentage). Add MapConfig/MapErrorHandling examples and comprehensive unit tests for CompletionConfig, MapConfig, MapFunction, BatchResult, ParameterValidator, and map integration.

Demo/Screenshots

Screenshot 2026-03-13 at 11 08 22 PM

Checklist

  • I have filled out every section of the PR template
  • I have thoroughly tested this change

Testing

Unit Tests

Have unit tests been written for these changes? Yes

Integration Tests

Have integration tests been written for these changes? Yes

Examples

Has a new example been added for the change? (if applicable) Yes

@ayushiahjolia ayushiahjolia requested a review from a team March 14, 2026 06:08
@ayushiahjolia ayushiahjolia self-assigned this Mar 14, 2026
Comment thread docs/core/map.md
@zhongkechen zhongkechen merged commit 966b2ea into main Mar 14, 2026
11 checks passed
@zhongkechen zhongkechen deleted the map_feature_2 branch March 14, 2026 06:36
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

Successfully merging this pull request may close these issues.

2 participants