You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2020/06/23 16:08:00 UTC
[jira] [Closed] (FLINK-18399) TableResult#print can not print the
result of unbounded stream query
[ https://issues.apache.org/jira/browse/FLINK-18399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timo Walther closed FLINK-18399.
--------------------------------
Resolution: Fixed
> 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
> Assignee: godfrey he
> Priority: Blocker
> Labels: pull-request-available
> 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)