-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(bigquery): Add support for AllowNonIncrementalDefinition and Staleness on MaterializedView #8673
feat(bigquery): Add support for AllowNonIncrementalDefinition and Staleness on MaterializedView #8673
Conversation
…Staleness on MaterializedView
bigquery/table.go
Outdated
|
||
// MaxStaleness of data that could be returned when materialized view | ||
// is queried (formatted as Google SQL Interval type). | ||
MaxStaleness string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we just use https://pkg.go.dev/cloud.google.com/go/bigquery#IntervalValue here and convert?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that makes much more sense, thanks for the tip
Thanks for adding this. Is there anything preventing this from getting merged? |
TODO: verify the behavior for maxStaleness at the table and within the MVD message. We may want to simply expose the top level message instead. |
Following up on this, hoping to get it in a release sooner than later |
Thanks!! |
Fixes #8668