Skip to content

featurebyte.Feature.get_feature_jobs_status

get_feature_jobs_status(
job_history_window: int=1,
job_duration_tolerance: int=60
) -> FeatureJobStatusResult

Description

Returns a report on the recent activity of scheduled feature jobs associated with a Feature object. The report includes recent runs for these jobs, whether they were successful, and the duration of the jobs. This provides a summary of the health of the feature, and whether online features are updated in a timely manner.

Failed and late jobs can occur due to various reasons, including insufficient compute capacity. Check your data warehouse logs for more details on the errors. If the errors are due to insufficient compute capacity, you can consider upsizing your instances.

Parameters

  • job_history_window: int
    default: 1
    History window in hours

  • job_duration_tolerance: int
    default: 60
    Maximum duration before job is considered later

Returns

  • FeatureJobStatusResult

Raises

  • RecordRetrievalException
    Preview request failed

Examples

>>> feature = catalog.get_feature("InvoiceCount_60days")
>>> feature.get_feature_jobs_status()