RUN_ID / SLUG
The RUN_ID
variable contains a cryptographically secure ID associated with each run of your project. This is automatically generated when you use prism run
or prism spark-submit
.
The SLUG
variable contains a slug for each run of your project. Note that the SLUG
is not cryptographically secure, but it much more human-readable than RUN_ID
. It is automatically generated when you use prism run
or prism spark-submit
.
Your run's SLUG
is displayed in the logs when you run your project:
In the above example, vermilion-hornet-Gyycw4kRWG
is your run's SLUG
.
Important: if your prism_project.py
file does not have a RUN_ID
or SLUG
, then Prism will throw an error. Make sure these are defined.
Last updated