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

Pass the StepExecution to the Partitioner API #4670

Open
djechelon opened this issue Sep 25, 2024 · 1 comment
Open

Pass the StepExecution to the Partitioner API #4670

djechelon opened this issue Sep 25, 2024 · 1 comment

Comments

@djechelon
Copy link

djechelon commented Sep 25, 2024

In order to take an if-else decision based on job arguments (specifically, my job can be executed against a "reference date" so I can pass it from command like), I would like to use that information in the Partitioner to select files/item/rows according to that information.

Currently, only information available is the grid size. According to SimpleStepExecutionSplitter, the StepExecution is available before calling the Partitioner.

I would kindly ask if it is possible, for the next version, to add the parameter to the Partitioner interface

Thanks for your attention

@injae-kim
Copy link
Contributor

Fix PR: #4716

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants