:wave: Q - is there a way to have dynamic dates i...
# troubleshooting
j
👋 Q - is there a way to have dynamic dates in meltano.yml? (e.g. -
start_date: some date variable or function for yesterday's date
)
p
c
You'll want to be mindful of differences between POSIX
date
and GNU
date
when using such utilities that exists in both GNU and POSIX
j
thanks to both of ya! makes sense, will try it soon
do you guys have experience setting the
DEFAULT_START_DATE
env variable within a
Dockerfile
? doesn't seem possible looking at this our jobs are ran by dagster on a k8s cluster so I'm just wondering where to declare the date env variable cc: @prratek_ramchandani
c
I haven't used dagster (yet), but it certainly would be within the realm of dagster to supply the input to your tap's
start_date
accordingly to the job's requirements. The
date
command from GNU coreutils will also do the job as shown in the SO topic. If you really want to go deep about falsehoods about time though, you can read a few examples here 😉 FalsehoodsAboutTime.com