Dawid Wysakowicz created FLINK-36883:
----------------------------------------

             Summary: 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
             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)

Reply via email to