ebyhr commented on PR #11758:
URL: https://github.com/apache/iceberg/pull/11758#issuecomment-2975172723

   This code works as far as I tested:
   
   ```sql
   show schemas;
   create schema iceberg125;
   create table iceberg125.foobar (id int, data string) using iceberg;
   insert into iceberg125.foobar values (1,'hello world!');
   insert into iceberg125.foobar values (2,'hello world again!');
   create table iceberg125.foodupe using iceberg as select * from 
iceberg125.foobar;
   select * from iceberg125.foobar;
   alter table iceberg125.foobar create branch test_branch
   
   select * from iceberg125.foobar.files;
   select * from iceberg125.foobar.history;
   select * from iceberg125.foobar.metadata_log_entries;
   select * from iceberg125.foobar.snapshots;
   select * from iceberg125.foobar.manifests;
   select * from iceberg125.foobar.partitions;
   select * from iceberg125.foobar.all_data_files;
   select * from iceberg125.foobar.all_manifests;
   select * from iceberg125.foobar.refs;
   
   select * from iceberg125.foodupe;
   alter table iceberg125.foodupe rename to iceberg125.foo_dupe;
   show tables in iceberg125;
   show schemas;
   drop table iceberg125.foo_dupe;
   drop table iceberg125.foobar;
   drop schema iceberg125;
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to