private static org.apache.avro.Schema.Field setMissingFieldId(
      org.apache.avro.Schema.Field field, NameMapping nameMapping, List<String> qualifiedPath) {
    MappedField mappedField = nameMapping.find(qualifiedPath);

    org.apache.avro.Schema schema = field.schema();
    if (mappedField != null && mappedField.id() != null) {
      field.addProp(AVRO_FIELD_ID, mappedField.id());
    }

    return new org.apache.avro.Schema.Field(field, schema);
  }
Gets the index based dereference chain to get from the readColumnHandle to the
expectedColumnHandle
amoro-format-mixed/amoro-mixed-trino/src/main/java/org/apache/amoro/trino/unkeyed/IcebergPageSourceProvider.java