Skip to content

aost: allow materialized view refresh with follower reads #96391

Open
@dbist

Description

Is your feature request related to a problem? Please describe.

refreshing materialized views and bypassing foreground traffic has immediate benefit.

Describe the solution you'd like

I'd like to use syntax similar to the following

refresh materialized view materialized_query as of system time '-10s';

Describe alternatives you've considered

n/a

Additional context

today, the error returned is

invalid syntax: statement ignored: at or near "as": syntax error
SQLSTATE: 42601
DETAIL: source SQL:
refresh materialized view materialized_query as of system time '-10s'

Related: #50753

Jira issue: CRDB-24099

Activity

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

Metadata

Assignees

No one assigned

    Labels

    C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions