Fokko commented on issue #281:
URL: https://github.com/apache/iceberg-python/issues/281#issuecomment-1971024124

   @syun64 Yes, that sounds like a great suggestion to me. I think it makes a 
lot of sense to create a table including a snapshot. I'm not sure if 
`as_select` is the best name since we just pass in a dataframe. 
   
   For most catalogs, this will be quite straightforward. For the REST catalog, 
there is one subtle implementation detail that we want to take into account, 
and that we need to leverage the [staged 
creation](https://github.com/apache/iceberg/blob/bb53c3d4e0e27ac6706803c2371793ad2476ae04/open-api/rest-catalog-open-api.yaml#L2796-L2797).
 Details can be found here: 
https://github.com/apache/iceberg/blob/bb53c3d4e0e27ac6706803c2371793ad2476ae04/open-api/rest-catalog-open-api.yaml#L480-L492


-- 
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