You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2020/03/27 05:43:34 UTC
[GitHub] [incubator-iceberg] chenjunjiedada commented on issue #824: Add
data_file_type to DataFile structure
chenjunjiedada commented on issue #824: Add data_file_type to DataFile structure
URL: https://github.com/apache/incubator-iceberg/issues/824#issuecomment-604825958
@openinx FYI, Just change the title for naming since the deletion file is a data file too, so using `file_type` would be more clear.
And it should be defined as optional since there may be existing data files in the table. The actual stored value of `file_type` could be:
- null: normal data file that has the defined table schema,
- 0: normal data file that has the defined table schema, the default
- 1: file and position based deletion data file that has the schema (_file, _pos)
- 2: column equality-based deletion data file that has the schema(_filed_id, _value)
The read value should be (0, 1, 2), though.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org