You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Files written by Iceberg writers contain Iceberg field IDs that are used for column projection. Iceberg doesn't currently support tracking data files that were written by other systems and added to Iceberg tables with the API because the field IDs are missing. To support files written by non-Iceberg writers, Iceberg could support a table-level mapping from a source schema to Iceberg IDs.
For example, a table with 2 columns might have an Avro schema mapping like this one, encoded as JSON in table properties:
When reading an Avro file, the read schema would be produced using the file's schema and the field IDs from the mapping. The names in each field mapping is a list to handle aliasing.
The text was updated successfully, but these errors were encountered:
rdblue
changed the title
Add schema mappings for data files without Iceberg field IDs
Add external schema mappings for data without field IDs
Oct 18, 2018
Files written by Iceberg writers contain Iceberg field IDs that are used for column projection. Iceberg doesn't currently support tracking data files that were written by other systems and added to Iceberg tables with the API because the field IDs are missing. To support files written by non-Iceberg writers, Iceberg could support a table-level mapping from a source schema to Iceberg IDs.
For example, a table with 2 columns might have an Avro schema mapping like this one, encoded as JSON in table properties:
When reading an Avro file, the read schema would be produced using the file's schema and the field IDs from the mapping. The
names
in each field mapping is a list to handle aliasing.The text was updated successfully, but these errors were encountered: