Databricks SDK for JavaScript
    Preparing search index...
    interface SlidingWindow {
        delay?: Duration;
        offset?: Duration;
        slideDuration?: Duration;
        windowDuration?: Duration;
    }
    Index

    Properties

    delay?: Duration

    Non-negative analytic lag that evaluates the window this far in the past. Use this for timing variations unrelated to source lateness, such as a 30-day count as of one week ago. If unset, the analytic lag is zero. It composes with source.lateness when both are set.

    offset?: Duration

    Non-negative phase shift from the default midnight UTC alignment. For example, offset=22h on a 24h slide produces boundaries at 22:00 UTC (17:00 New York in standard time) instead of midnight UTC. If unset, the offset is zero. Must be shorter than slide_duration (and therefore window_duration).

    slideDuration?: Duration

    The slide duration (interval by which windows advance, must be positive and less than duration).

    windowDuration?: Duration

    The duration of the sliding window. Must be positive when set; absent means lifetime (aggregate over the entity's entire history).