[ https://issues.apache.org/jira/browse/FLINK-29058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weijie Guo updated FLINK-29058: ------------------------------- Affects Version/s: 2.1.0 (was: 1.16.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: 2.1.0 > Reporter: Yunhong Zheng > Priority: Major > Fix For: 2.0.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)