You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kurt Young (Jira)" <ji...@apache.org> on 2020/03/06 14:20:00 UTC
[jira] [Assigned] (FLINK-16464) result-mode tableau may shift when
content contains Chinese String in SQL CLI
[ https://issues.apache.org/jira/browse/FLINK-16464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kurt Young reassigned FLINK-16464:
----------------------------------
Assignee: Kurt Young
> result-mode tableau may shift when content contains Chinese String in SQL CLI
> -------------------------------------------------------------------------------
>
> Key: FLINK-16464
> URL: https://issues.apache.org/jira/browse/FLINK-16464
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Client
> Affects Versions: 1.11.0
> Reporter: Leonard Xu
> Assignee: Kurt Young
> Priority: Minor
> Fix For: 1.11.0
>
>
>
> result-mode tableau may shift when column content contains Chinese String in SQL CLI as following:
> {code:java}
> Flink SQL> select * from user_ino;
> +-----+----------------------+--------+----------------------+
> | +/- | user_name | is_new | content_col |
> +-----+----------------------+--------+----------------------+
> | + | sam | true | content |
> | + | 中文名 | false | content |
> | + | leonard | true | content |
> {code}
> We can calculate column widths with UDTF-8 format bytes not length of string to avoid this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)