jiakai-li commented on issue #1493: URL: https://github.com/apache/iceberg-python/issues/1493#issuecomment-2588111953
Hey @kevinjqliu , after some investigation, I realized this feature might require a bigger change than I originally expected (which could be a good thing though, so we can refactor the code a littble bit as well). Specifically, I think the logic in `_ApplyChanges` needs to be updated. At the mean time, I would also like to put a note that below code acheives the same purpose (and I feel it's more natural as well): ```python ... table = catalog.create_table("default.test", schema) with table.update_schema() as update: update.add_column("parent", StructType( NestedField(-1, "child", StructType(), required=False) )) ``` Please let me know if you have any thoughts, thanks! -- 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