[
https://issues.apache.org/jira/browse/FLINK-36883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Wysakowicz closed FLINK-36883.
------------------------------------
Resolution: Fixed
Fixed in:
* master
** 529f64078a34d9840a26906bcf967a2147d305f9
* 1.20.1
** 5295961bfe3018a8fb28ffd77a292019fe310e09
> Views should keep the time attributes of the query
> --------------------------------------------------
>
> Key: FLINK-36883
> URL: https://issues.apache.org/jira/browse/FLINK-36883
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Reporter: Dawid Wysakowicz
> Assignee: Dawid Wysakowicz
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0, 1.20.1
>
>
> It should be possible to implement a catalog that uses
> `LogicalType#asSerializableString` to store tables and views types.
> Unfortunately the `asSerializableString` stores regular types. It does not
> store time attributes. This is especially problematic for views, which should
> keep the time attribute of the underlying query.
> We should adapt the view target type based on the original query regarding
> time attributes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)