-
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
"references invalid table" when querying CTE views #33965
Comments
This error is reported by tidb/planner/core/logical_plan_builder.go Lines 4597 to 4607 in 334508e
The actual error is tidb/planner/core/expression_rewriter.go Lines 1889 to 1894 in d981c0e
tidb/planner/core/expression_rewriter.go Line 1932 in d981c0e
We can compare these names:
Obviously, the The select SQL stored by view is:
|
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
45e48b6
The text was updated successfully, but these errors were encountered: