Jing Zhang created FLINK-12810:
----------------------------------
Summary: Support to run a TableAPI query like 'table.select('a, 'b, 'c)'
Key: FLINK-12810
URL:
https://issues.apache.org/jira/browse/FLINK-12810 Project: Flink
Issue Type: Task
Reporter: Jing Zhang
Support to run a TableAPI query like 'table.select('a, 'b, 'c)', including:
1. add RexNodeConverter to convert Expression to RexNode
2. Introduce RexPlannerExpression to wraps a RexNode, which is similar to RexPlannerExpression in flink-planner module.
3. add QueryOperationConverter to convert QueryOperation tree to RelNode
4. Introduce PlannerQueryOperation to wraps a RelNode in QueryOperation, which is similar to PlannerQueryOperation in flink-planner module.
5. add OperationTreeBuilder and relative classes(ExpressionResolver, TableReferenceLookup, FieldReferenceLoopup, ExpandColumnFunctionsRule, LookupCallByNameRule, ResolverRule, StarReferenceFlattingRule, VerifyNoUnresolvedExpressionRule), which is almost copy from flink-planner module to blink-planner module, except that we remove dependency on PlannerExpression. **Note: This is temporal solution, since OperationTreeBuilder will be moved to api module finally.**
6. add implicit conversion in expressionDsl
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)