-
Notifications
You must be signed in to change notification settings - Fork 5.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
planner: don't reset optFlag when build DataSource from View #15546
Labels
Comments
francis0407
added
type/bug
The issue is confirmed as a bug.
sig/planner
SIG: Planner
labels
Mar 21, 2020
francis0407
changed the title
planner: don't reset optFlag when buildDataSource from View
planner: don't reset optFlag when build DataSource from View
Mar 21, 2020
The root cause is when we build DataSource from a View, we reset the |
This was referenced Mar 22, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. What did you do?
2. What did you expect to see?
The two queries above should have the same result
1, 1, 1, 1
.3. What did you see instead?
When we use the view
vt
, the result set is empty.4. What version of TiDB are you using? (
tidb-server -V
or runselect tidb_version();
on TiDB)4.0-beta
The text was updated successfully, but these errors were encountered: