Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADAP-631] [Dynamic Tables] Add DOWNSTREAM option for TARGET_LAG #666

Closed
Fleid opened this issue Jun 19, 2023 · 3 comments
Closed

[ADAP-631] [Dynamic Tables] Add DOWNSTREAM option for TARGET_LAG #666

Fleid opened this issue Jun 19, 2023 · 3 comments

Comments

@Fleid
Copy link
Contributor

Fleid commented Jun 19, 2023

The TARGET_LAG user interface parameter should be set to the value of DOWNSTREAM in addition to 'num seconds | minutes | hours | days'.

The complete definition becomes:


TARGET_LAG = { num { seconds | minutes | hours | days } | DOWNSTREAM }

Specifies the lag for the dynamic table:

'num seconds | minutes | hours | days'

Specifies the maximum amount of time that the dynamic table’s content should lag behind updates to the base tables.

For example:

If the data in the dynamic table should lag by no more than 5 minutes, specify 5 minutes.

If the data in the dynamic table should lag by no more than 5 hours, specify 5 hours.

The minimum value is 1 minute. If the dynamic table A depends on another dynamic table B, the minimum lag for A must be greater than or equal to the lag for B.

DOWNSTREAM

Specifies that dynamic table should be refreshed if any downstream ancestor is refreshed.

@github-actions github-actions bot changed the title [Dynamic Tables] Add DOWNSTREAM option for TARGET_LAG [ADAP-631] [Dynamic Tables] Add DOWNSTREAM option for TARGET_LAG Jun 19, 2023
@McKnight-42
Copy link
Contributor

McKnight-42 commented Aug 10, 2023

resolves: #734

@McKnight-42 McKnight-42 self-assigned this Aug 10, 2023
@noel
Copy link

noel commented Oct 15, 2023

I know this is to allow for DOWNSTREAM, but is seconds also a problem?

  002755 (22023): SQL compilation error: Invalid TARGET_LAG value '10 seconds'. Dynamic Tables do not support lag values under 60 second(s).

@dataders
Copy link
Contributor

closed by #734

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants