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

   I've tried this out and overall I like the idea a lot because it's very easy 
to spin up Spark and try stuff.
   As a simple check I typically use the following statments, but they are 
already starting to fail on the first INSERT, so it would be good to figure out 
what's wrong/missing there so that all of these properly work
   
   ```
   show schemas;
   create schema iceberg125;
   create table iceberg125.foobar (id int, data string);
   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: 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