[ 
https://issues.apache.org/jira/browse/FLINK-30025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17634540#comment-17634540
 ] 

Jing Ge edited comment on FLINK-30025 at 11/15/22 9:44 PM:
-----------------------------------------------------------

Afaik, for streaming, there is no way for Flink to get the max width of the 
column value.  User can use Integer.Max_VALUE in this case. Offering "-1" 
should be also fine, but internally Flink will turn "-1" into 
Integer.MAX_VALUE. So no big different.


was (Author: jingge):
Afaik, for streaming, there is no way for Flink to get the max width of the 
column value.  User can use Integer.Max_VALUE. Offering "-1" should be also 
fine, but internally Flink will turn "-1" into Integer.MAX_VALUE. So no big 
different.

> table.execute().print() can only use the default max column width 
> ------------------------------------------------------------------
>
>                 Key: FLINK-30025
>                 URL: https://issues.apache.org/jira/browse/FLINK-30025
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / API
>    Affects Versions: 1.16.0, 1.15.2
>            Reporter: Jing Ge
>            Assignee: Jing Ge
>            Priority: Minor
>              Labels: pull-request-available
>
> By default, the DEFAULT_MAX_COLUMN_WIDTH in PrintStyle is used now. It should 
> be configurable. 



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

Reply via email to