slinkydeveloper commented on a change in pull request #17350: URL: https://github.com/apache/flink/pull/17350#discussion_r716445907
########## File path: flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/filesystem/AbstractFileSystemTable.java ########## @@ -59,15 +68,19 @@ ReadableConfig formatOptions(String identifier) { return new DelegatingConfiguration(tableOptions, identifier + "."); } - DataType getFormatDataType() { - TableSchema.Builder builder = TableSchema.builder(); - schema.getTableColumns() - .forEach( - column -> { - if (!partitionKeys.contains(column.getName())) { - builder.add(column); - } - }); - return builder.build().toRowDataType(); + DataType getRowDataTypeWithoutPartitionColumns() { Review comment: Oh wait I've found some utils to make this code look cleaner, let me refactor it -- 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