Yu Li created FLINK-11816:
-----------------------------

             Summary: Changes of FLINK-11516 causes compilation failure
                 Key: FLINK-11816
                 URL: https://issues.apache.org/jira/browse/FLINK-11816
             Project: Flink
          Issue Type: Bug
          Components: API / Table SQL
    Affects Versions: 1.9.0
            Reporter: Yu Li
            Assignee: Dian Fu


As titled, the change breaks compilation with below error:
{noformat}
Error:(70, 34) type mismatch;
 found   : 
scala.collection.immutable.Map[String,org.apache.flink.table.plan.stats.ColumnStats]
 required: java.util.Map[String,org.apache.flink.table.plan.stats.ColumnStats]
        Some(new TableStats(cnt, columnStats))

Error:(52, 33) value getColumnStats is not a member of 
org.apache.flink.table.plan.stats.TableStats
    case Some(tStats) => tStats.getColumnStats.get(columnName)

Error:(62, 33) value getRowCount is not a member of 
org.apache.flink.table.plan.stats.TableStats
    case Some(tStats) => tStats.getRowCount.toDouble
{noformat}

And this is found in the travis pre-commit check when running 
{{Kafka09SecuredRunITCase}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to