adp.maintain.maintain.maintain_from_string

adp.maintain.maintain.maintain_from_string(yaml_string: str, parallel_threads: int = 1) None

Main entry point to start a maintenance job from a YAML string, typically executed from a Databricks notebook.

Parameters:
  • yaml_string (str) – YAML string in the SDP format. See the SDP wiki for syntax details.

  • parallel_threads (int) – Number of threads to use for parallel job execution.

Returns:

None

Raises:

Exception – If the YAML is invalid or rules cannot be executed.