You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2023/03/23 08:52:15 UTC

[jira] [Updated] (FLINK-29058) Analyze table xxx For columns will thrown error while encounter String type column with null value

     [ https://issues.apache.org/jira/browse/FLINK-29058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xintong Song updated FLINK-29058:
---------------------------------
    Fix Version/s: 1.18.0
                       (was: 1.17.0)

> Analyze table xxx For columns will thrown error while encounter String type column with null value
> --------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-29058
>                 URL: https://issues.apache.org/jira/browse/FLINK-29058
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>    Affects Versions: 1.16.0
>            Reporter: Yunhong Zheng
>            Priority: Major
>             Fix For: 1.18.0
>
>
> When String/varchar type column `a` have `null` value, `Analyze table xxx FOR ALL COLUMNS/ COLUMNS a` may throw error:
> {code:java}
> [ERROR] Could not execute SQL statement. Reason:
> org.apache.thrift.protocol.TProtocolException: Required field 'maxColLen' is unset! Struct:StringColumnStatsData(maxColLen:0, avgColLen:0.0, numNulls:1, numDVs:0) {code}



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