Page MenuHomeElementl

[4/n] Fix inclusive logic when generating partitions
AbandonedPublicDraft

Authored by rexledesma on Apr 29 2021, 6:11 AM.

Details

Summary

Depends on D7654.

Currently, the inclusive flag just removes the last partition
if it is enabled. This looks like incorrect logic.

Instead, we use the inclusive flag to determine if we stop when
we are equal or strictly greater than the end date timestamp.

Test Plan

fix existing tests

Diff Detail

Repository
R1 dagster
Branch
rl/fix-inclusive
Lint
Lint Passed
Unit
No Test Coverage