lliangyu-lin opened a new issue, #407:
URL: https://github.com/apache/iceberg-go/issues/407

   ### Apache Iceberg version
   
   main (development)
   
   ### Please describe the bug 🐞
   
   Current Glue catalog [create table 
implementation](https://github.com/apache/iceberg-go/blob/main/catalog/glue/glue.go#L231-L233)
 simply use Glue Create Table API to create the table in Glue data catalog and 
use the metadata file created by Glue. 
   
   However, Glue Create Table API doesn't have a way check or specify if a 
column is required in a schema, hence, all columns in the table metadata file 
created by Glue is an optional column.
   
   Checking iceberg-python and iceberg-rust, both clients have implementations 
that creates the metadata file using FileIO and then creates the table using 
that metadata file created.
   * 
https://github.com/apache/iceberg-rust/blob/main/crates/catalog/glue/src/catalog.rs#L396-L399
   * 
https://github.com/apache/iceberg-python/blob/main/pyiceberg/catalog/glue.py#L451


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