openinx commented on code in PR #16425: URL: https://github.com/apache/iceberg/pull/16425#discussion_r4792257079
########## format/spec.md: ########## @@ -1801,6 +1807,65 @@ If a delete column in an equality delete file is later dropped from the table, i Manifests hold the same statistics for delete files and data files. For delete files, the metrics describe the values that were deleted. +### Column Files + +In v4 and later, a data file or leaf manifest may store fields in column files listed in [`column_files`](#column-file-fields). The data file or leaf manifest whose `column_files` lists a column file is that column file's _base file_. + +A column file can use any supported Iceberg file format and must have the same row count as its base file. Its rows are aligned with the base file's rows by position, including deleted rows. Review Comment: okay, checked the code, it seems like we are allowed to set different file format in the same table. there is a test justifying that. https://github.com/apache/iceberg/blob/56c11c953d28c0547a058635babebefddfc26dcb/spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/source/TestStructuredStreamingRead3.java#L996-L1015 so seems like we are okay to add it here to allow different file formats. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
