connor_flynn
03/31/2022, 12:31 PMyesterday
and end_date to today
in order to create a daily scheduled run. However when I try to set a schedule I receive this error.
Is there any methods to set a start and end date for a pipeline with a fluctuating yesterday
start, and today
end? Thank you in advance!connor_flynn
03/31/2022, 7:44 PMedgar_ramirez_mondragon
04/01/2022, 1:56 PMdate_iso8601
settings here: https://gitlab.com/meltano/meltano/-/blob/15dc7e987b63edab73a3ff077a6430baee122888/src/meltano/core/utils/__init__.py#L265-282
One workaround might be to override the setting kind
to make it a simple stringaaronsteers
04/01/2022, 4:00 PMaaronsteers
04/01/2022, 4:01 PMN_DAYS=1
TAP_MYSOURCE_START_DATE=$(date +%Y-%m-%d -d "$N_DAYS day ago")
echo "Using dynamic start date of today-$N_DAYS: $TAP_MYSOURCE_START_DATE"
meltano elt tap-mysource target-mydest
aaronsteers
04/01/2022, 4:01 PMconnor_flynn
04/01/2022, 4:03 PM