[
https://issues.apache.org/jira/browse/FLINK-12799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Wysakowicz updated FLINK-12799:
-------------------------------------
Component/s: Table SQL / API
> Improve expression based TableSchema extraction from DataStream/DataSet
> -----------------------------------------------------------------------
>
> Key: FLINK-12799
> URL: https://issues.apache.org/jira/browse/FLINK-12799
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API, Table SQL / Legacy Planner
> Reporter: Dawid Wysakowicz
> Assignee: Dawid Wysakowicz
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> We should improve the extraction of {{TableSchema}} from
> {{DataStream/DataSet}}. Currently it is split into a few stages:
> # Extract types ignoring time attributes via {{FieldInfoUtils#getFieldInfo}}
> # Extract the rowtime and proctime positions via
> {{StreamTableEnvImpl#validateAndExtractTimeAttributes}}
> # Adjust the indices from #1 using information from #2
> All that could happen in a single pass. This will also deal with the
> porting/removing of a few methods from {{StreamTableEnvImpl}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)