kevinjqliu commented on PR #1433:
URL: https://github.com/apache/iceberg-python/pull/1433#issuecomment-2549215540

   Heres where the errors happens
   
   
https://github.com/apache/iceberg-python/blob/b0ea716c91f19281d3d9cd7b6965d5d01f6cc3d5/pyiceberg/table/update/schema.py#L184-L192
   
   And some debugging statements: 
   ```
   (Pdb) path
   ('details', 'confirmed_by')
   (Pdb) name
   'confirmed_by'
   (Pdb) parent
   ('details',)
   (Pdb) parent_full_path
   'details'
   (Pdb) parent_id
   -1
   (Pdb) len(parent) > 0
   True
   ```
   
   ```
   parent_field = self._schema.find_field(parent_full_path, 
self._case_sensitive)
   ```
   is where it errors. 
   
   Seems like we're missing the case where no "parent" is present


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to