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 2019/10/29 23:36:28 UTC

[GitHub] [incubator-iceberg] lxynov commented on a change in pull request #227: ORC column map fix

lxynov commented on a change in pull request #227: ORC column map fix
URL: https://github.com/apache/incubator-iceberg/pull/227#discussion_r340374991
 
 

 ##########
 File path: site/docs/spec.md
 ##########
 @@ -489,7 +489,7 @@ Lists must use the [3-level representation](https://github.com/apache/parquet-fo
 
 One of the interesting challenges with this is how to map Iceberg’s schema evolution (id based) on to ORC’s (name based). In theory, we could use Iceberg’s column ids as the column and field names, but that would suck from a user’s point of view. 
 
-The column ids would be stored in ORC’s user metadata as `iceberg.column.id` with a comma separated list of the ids.
+The column IDs must be stored in ORC type attributes using the key `iceberg.id`, and `iceberg.required` to store `"true"` if the Iceberg column is required, otherwise it will be optional.
 
 Review comment:
   > `iceberg.required` to store `"true"` if the Iceberg column is required
   Do we have a counterpart of this in Parquet?

----------------------------------------------------------------
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