dannypage commented on issue #2030:
URL: 
https://github.com/apache/iceberg-python/issues/2030#issuecomment-2944858704

   I've run into this as well, and appreciate the transaction method. However, 
I don't see a way to do this with sorting? Perhaps it's not possible to add 
sorting after the table is created and data is potentially added. In which case 
I'd probably prefer the idea that David suggested:
   
   > A utility function needs to be provided to convert the pa.schema to an 
iceberg schema AND apply the field id numbering.
   
   I was doing a hacky version of this where I'd create a temp_table, grab the 
IDs created, purge it, and then use those ids with the creation of the final 
table. A function that could convert the schema would be ideal to skip that 
step.
   
   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

Reply via email to