godfrey he created FLINK-11966: ---------------------------------- Summary: 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: API / Table SQL Reporter: godfrey he Assignee: godfrey he
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)