KurtYoung commented on a change in pull request #11334: [FLINK-16464][sql-client]result-mode tableau may shift when content contains Chinese String in SQL CLI URL: https://github.com/apache/flink/pull/11334#discussion_r390075494
########## File path: flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/cli/CliTableauResultView.java ########## @@ -60,9 +61,9 @@ private static final int NULL_COLUMN_WIDTH = CliStrings.NULL_COLUMN.length(); private static final int MAX_COLUMN_WIDTH = 30; private static final int DEFAULT_COLUMN_WIDTH = 20; + private static final int COLUMN_TRUNCATED_FLAG_WIDTH = 3; Review comment: use `COLUMN_TRUNCATED_FLAG.length()` instead? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services