-
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
planner: unfold the wildcard when creating view #11818
Conversation
b8143de
to
413210a
Compare
Codecov Report
@@ Coverage Diff @@
## master #11818 +/- ##
===========================================
Coverage 80.5501% 80.5501%
===========================================
Files 465 465
Lines 109358 109358
===========================================
Hits 88088 88088
Misses 14850 14850
Partials 6420 6420 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-all-tests |
@AndrewDi merge failed. |
/run-all-tests |
/run-integration-common-test tidb-test=pr/890 |
@AndrewDi CREATE TABLE t1 (id INTEGER, sex CHAR(1));
CREATE VIEW v AS SELECT id, SUM(id) OVER w, sex FROM t1 WINDOW w AS (PARTITION BY sex ORDER BY id ROWS BETWEEN 2 PRECEDING AND 1 PRECEDING);
SELECT * FROM v; |
@AndrewDi any update? |
/run-all-tests |
4a0ee36
to
ffb2791
Compare
/run-all-tests tidb-test=pr/925 |
/rebuild |
1 similar comment
/rebuild |
/run-all-tests |
/run-all-tests tidb-test=pr/925 |
/run-all-tests tidb-test=pr/925 |
/run-integration-test |
/run-sqllogic-test |
/run-common-test |
/run-integration-common-test tidb-test=pr/925 |
/run-integration-common-test tidb-test=pr/925 |
What problem does this PR solve?
As part of View implement, remove view's wildcard and expand it.
What is changed and how it works?
ref proposal Proposal: Implement View
Check List
Tests
Description
Let's take a example with create view,
Before this PR,View will store select statement like
After this PR, View will store select statement like