Aitozi commented on code in PR #21522: URL: https://github.com/apache/flink/pull/21522#discussion_r1137117080
########## flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/connectors/hive/HiveSourceBuilder.java: ########## @@ -150,13 +150,13 @@ public HiveSourceBuilder( @Nonnull ReadableConfig flinkConf, @Nonnull ObjectPath tablePath, @Nullable String hiveVersion, - @Nonnull CatalogTable catalogTable) { + @Nonnull ResolvedCatalogTable catalogTable) { this.jobConf = jobConf; this.flinkConf = flinkConf; this.fallbackMappedReader = flinkConf.get(TABLE_EXEC_HIVE_FALLBACK_MAPRED_READER); this.tablePath = tablePath; this.hiveVersion = hiveVersion == null ? HiveShimLoader.getHiveVersion() : hiveVersion; - this.fullSchema = catalogTable.getSchema(); + this.fullSchemaType = catalogTable.getResolvedSchema().toPhysicalRowDataType(); Review Comment: the computed column should be excluded -- 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. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org