-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
[SFN] Fix access to selected items in Distributed Map state #11861
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
Conversation
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 30m 21s ⏱️ - 1h 13m 40s Results for commit e5abd8c. ± Comparison against base commit 5b44747. This pull request removes 2472 and adds 2 tests. Note that renamed tests count towards both.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice catch.
Kinda easy to miss. Would love if we had a bit more documentation around when to pop vs. peek the stack.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
It's true, the map run should consume it's input instead of just reading it. Not doing this meant that the iteration logic could not evaluate on the state's input (or it's reduction through InputPath), but on the ItemsPath's result. Good catch, thank you @gregfurman!
Motivation
This PR fixes input passed to an
ItemSelector
not being correctly propogated to each iteration of a distributed map run.Changes
ItemSelector
tests for both aDISTRIBUTED
andINLINE
map type.