https://dagster.io/ logo
#ask-community
Title
# ask-community
p

Philippe Laflamme

01/18/2023, 12:29 AM
Dumb question, but is there an alternate syntax in the UI when specifying partition ranges? Typically, I prefer specifying partition ranges with the end bound as exclusive. There are 2 reasons for this: • when running for a whole month, you don’t have to know what the end date actually is (i.e.: is it 30, 31, 28 or 29?), you just specify
2022-02-01, 2022-03-01
• when looping, you can use the previous
end
as the next iteration’s
start
directly I couldn’t find a way to specify something like
[2022-02-01…2022-03-01[
in the UI. Not sure what the behaviour of the
cli
is, but I would also assume
--to
to be exclusive
c

chris

01/18/2023, 6:40 PM
Not a stupid question - the monthly backfill example you brought up is particularly compelling. Made an issue for this: https://github.com/dagster-io/dagster/issues/11772
🙏 1
p

Philippe Laflamme

01/18/2023, 7:39 PM
Thanks! For the looping use case, this could come up in a script that launches backfills using the
cli
, e.g.:
dagster job backfill --from $start --to ${start + 1month}
so it would be nice to support exclusive end bound on the
cli
as well. Perhaps using something like
--until
instead of
--to
to specify an exclusive bound
3 Views