Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Passing Today's Date in Recurring Vertex AI Pipeline Runs #3771

Open
MuhammadRehmanRabbani opened this issue Jan 3, 2025 · 0 comments

Comments

@MuhammadRehmanRabbani
Copy link

Hi Team,

I’ve been trying to create a recurring run on Vertex AI which should execute daily at a specific time. The goal is to pass today's date for each run. I’m using the date parameter while creating the run on Vertex AI, but I've run into an issue.

I attempted to use the macro kfp.dsl.PIPELINE_JOB_SCHEDULE_TIME_UTC_PLACEHOLDER as follows:

{{$.pipeline_job_schedule_time_utc}}

When I pass this macro as the date parameter, the component that reads the date receives the exact same macro value (i.e. {{$.pipeline_job_schedule_time_utc}}), and the output of the component is:

1970-01-01T00:00:00Z

I’m not sure why I’m not getting today's date, as expected. Could anyone help me understand what might be causing this issue? Or if there is any other approach to pass today’s date to each recurring run?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant