[jira] [Created] (FLINK-18399) TableResult#print can not print the result of unbounded stream query

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

[jira] [Created] (FLINK-18399) TableResult#print can not print the result of unbounded stream query

Shang Yuanchun (Jira)
godfrey he created FLINK-18399:
----------------------------------

             Summary: TableResult#print can not print the result of unbounded stream query
                 Key: FLINK-18399
                 URL: https://issues.apache.org/jira/browse/FLINK-18399
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API
    Affects Versions: 1.11.0
            Reporter: godfrey he
             Fix For: 1.11.0


In current implementation of PrintUtils, all result will be collected to local memory to compute column width first. this can works fine with batch query and bounded stream query. but for unbounded stream query, the result will be endless, so the result will be never printed. To solve this, we can use fix-length strategy, and print a row immediately once the row is accessed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)