Yunfeng Zhou created FLINK-31605:
------------------------------------

             Summary: Table#to_pandas check table boundedness
                 Key: FLINK-31605
                 URL: https://issues.apache.org/jira/browse/FLINK-31605
             Project: Flink
          Issue Type: Improvement
          Components: API / Python
    Affects Versions: 1.17.0
            Reporter: Yunfeng Zhou


When `Table#to_pandas` is invoked on a table with an unbounded source, this 
method would not throw exceptions. Instead, it would be infinitely executing 
without exiting. It would be better to check the boundedness of a table before 
execution and throw exceptions on unbounded cases.

It might be possible to reference the code in 
`StreamGraphGenerator#existsUnboundedSource` to judge whether a Table is 
bounded or not.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to