Skip to content

Pass the StepExecution to the Partitioner API #4670

Open
@djechelon

Description

@djechelon

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions