-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: Cannot use AOST on the select query of an insert #30534
Comments
This is tricky due to the AOST implementation and can't be done right now. We've discussed this lots before but have no specific plans to implement it anytime soon. The best thing you can do now is |
Alright. But w/ the snapshop isolation being deprecated, was told AOST was the way to do non-blocking queries. It's just so incredibly limiting in where you can use AOST. |
@awoods187 can you check where this would fit on the roadmap? I know other users have asked before. |
cc @rolandcrosby I think you may have an opinion too |
@mjibson Can I get you to draft a short blurb describing this known limitation for the 2.1 known limitation page? Posting it on this issue and/or pinging me would be great. |
|
I just created cockroachdb/docs#6224 which seems to be related to this |
Duplicate #35712. |
Cockroach 2.1 Sept 17th.
insert into Table(cols) select cols from table2 as of system time '-1m' where -something-
fails with:pq: AS OF SYSTEM TIME must be provided on a top-level statement.
It would be useful to do this so you could do a large table copy as a non-blocking/locking statement.
Thanks.
Epic: CRDB-9838
Jira issue: CRDB-4829
The text was updated successfully, but these errors were encountered: