-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Support AS OF SYSTEM TIME
syntax
#11703
Comments
CockroachDB also has a handy helper-function: This automatically enables follower reads, up to the most recent point possible. I think it's a lot more convenient than explicitly enabling follower reads. |
If we support MySQL 8.0's SELECT /*+ SET_VAR(tidb_snapshot = 1234567890) */ * FROM t; |
We can regard this hint as a workaround temporally. The
In BigQuery, it is
|
Another potential behavior difference between dedicated syntax and hints, is that hints typically only generate warnings at most. If using |
duplicate #18672 |
Feature Request
Is your feature request related to a problem? Please describe:
Reading historical data requires setting a system variable. This has two problems:
Describe the feature you'd like:
Support the
AS OF SYSTEM TIME
syntax like sql-server.CockroachDB and BigQuery also supports syntax like that.
Describe alternatives you've considered:
No
Teachability, Documentation, Adoption, Migration Strategy:
No
The text was updated successfully, but these errors were encountered: