[
https://issues.apache.org/jira/browse/FLINK-11703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jark Wu updated FLINK-11703:
----------------------------
Description:
In order to support plan test, we need the ability to register a DataStream (or
TableSource) and perform sql query on it.
This issue is aiming to introduce a basic and simple TableEnvironment which
only support {{registerDataStream}} and {{sqlQuery}}.
In the context of FLINK-11067 and FLINK-11068 (convert TableEnvironments and
Tables to interfaces), the introduced {{TableEnvironment}} in
{{table-planner-blink}} is a temporary solution and will be refactored/moved to
a {{BlinkPlanner}}, once FLINK-11067, FLINK-11068 is done.
was:
We need an initial commit to add something like Table, TableEnvironment,
Expressions, ExpressionParser, etc..
They can be copied from flink-table-planner, and add changes to them in the
future when merging Blink features. There are no big differences in these
classes.
> Introduce TableEnvironment and support registerDataStream and sqlQuery
> ----------------------------------------------------------------------
>
> Key: FLINK-11703
> URL: https://issues.apache.org/jira/browse/FLINK-11703
> Project: Flink
> Issue Type: New Feature
> Components: SQL / Planner
> Reporter: Jark Wu
> Assignee: Jark Wu
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In order to support plan test, we need the ability to register a DataStream
> (or TableSource) and perform sql query on it.
> This issue is aiming to introduce a basic and simple TableEnvironment which
> only support {{registerDataStream}} and {{sqlQuery}}.
> In the context of FLINK-11067 and FLINK-11068 (convert TableEnvironments and
> Tables to interfaces), the introduced {{TableEnvironment}} in
> {{table-planner-blink}} is a temporary solution and will be refactored/moved
> to a {{BlinkPlanner}}, once FLINK-11067, FLINK-11068 is done.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)