[jira] [Created] (FLINK-6870) Combined batch and stream TableSource can not produce same time attributes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-6870) Combined batch and stream TableSource can not produce same time attributes

JIRA jira@apache.org
Timo Walther created FLINK-6870:
-----------------------------------

             Summary: Combined batch and stream TableSource can not produce same time attributes
                 Key: FLINK-6870
                 URL: https://issues.apache.org/jira/browse/FLINK-6870
             Project: Flink
          Issue Type: Bug
          Components: Table API & SQL
            Reporter: Timo Walther


If a class implements both {{BatchTableSource}} and {{StreamTableSource}}, it is not possible to declare a time attribute which is valid for both environments. For batch it should be a regular field, but not for streaming. The {{getReturnType}} method does not know the environment in which it is called.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)