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

Encode snapshotTimeMillis in view materialization query #1259

Merged

Conversation

tom-s-powell
Copy link
Contributor

snapshotTimeMillis does not currently make sense with views since the view is materialized to a table without taking this property into consideration, and then a read session is created attempting to read the materialized table at this timestamp (which has only just been created). This change will instead use snapshotTimeMillis to add FOR SYSTEM_TIME AS OF TIMESTAMP_MILLIS clause to the query that materializes the view to a table and the read session simply consumes that.

@isha97
Copy link
Member

isha97 commented Jul 19, 2024

/gcbrun

@isha97
Copy link
Member

isha97 commented Jul 22, 2024

/gcbrun

@isha97 isha97 merged commit d1117de into GoogleCloudDataproc:master Jul 22, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants