Custom macro for deleting job logs based on number of runs

Options
hisyam
hisyam Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 16

Hi all,

Is there a way for us to create a custom macro where it would delete the job logs in a project based on the number of runs?

For example, if my project has accumulated 100 job logs, by executing the custom macro, it would only retain the last 10 runs regardless of how old the job logs are.

Could you provide a sample of the code?

Thanks


Operating system used: Linux

Tagged:

Answers

  • hisyam
    hisyam Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 16
    Options

    Or better yet, is there any possible way for us to retrieve the code for the built-in macros in Dataiku DSS?

Setup Info
    Tags
      Help me…