[ https://issues.apache.org/jira/browse/FLINK-11966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kurt Young closed FLINK-11966. ------------------------------ Resolution: Implemented Fix Version/s: 1.9.0 fixed in d15171ffdbb036c54b5aa33c1bf041f1c2372445 > Add support for generating optimized logical plan for simple query(Project, > Filter, Values and Union all) > --------------------------------------------------------------------------------------------------------- > > Key: FLINK-11966 > URL: https://issues.apache.org/jira/browse/FLINK-11966 > Project: Flink > Issue Type: New Feature > Components: SQL / Planner > Reporter: godfrey he > Assignee: godfrey he > Priority: Major > Labels: pull-request-available > Fix For: 1.9.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Add support for generating optimized logical plan for simple query, > 1. Project and Filter: SELECT a, b + 1 FROM MyTable WHERE b > 2 > 2. Values: SELECT * FROM (VALUES (1, 2, 3)) AS T(a, b, c) > 3. Union all: SELECT a, c FROM (SELECT a, c FROM MyTable1 UNION ALL SELECT a, > c FROM MyTable2) > {{Union}} depends on {{Aggregate}} to eliminate duplicates, so it will be > introduced after {{Aggregate}} spported. -- This message was sent by Atlassian JIRA (v7.6.3#76005)