zeroshade commented on code in PR #326:
URL: https://github.com/apache/iceberg-go/pull/326#discussion_r1987481597


##########
catalog/glue/glue.go:
##########
@@ -582,3 +633,16 @@ func filterDatabaseListByType(databases []types.Database, 
databaseType string) [
 
        return filtered
 }
+
+func schemaToGlueColumns(schema *iceberg.Schema) []types.Column {
+       var columns []types.Column
+       for _, field := range schema.Fields() {
+               columns = append(columns, types.Column{
+                       Name:    aws.String(field.Name),
+                       Type:    aws.String(field.Type.String()),
+                       Comment: aws.String(field.Doc),
+               })
+       }

Review Comment:
   is this the proper way to handle nested columns?



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