lliangyu-lin opened a new pull request, #446: URL: https://github.com/apache/iceberg-go/pull/446
### Description When calling NewCatalog in glue catalog without any AWS properties, causing the catalog properties to be nil ``` props: iceberg.Properties(glueOps.awsProperties), ``` Hence, when creating a staged table and need to clone the catalog properties in https://github.com/apache/iceberg-go/blob/d51f8b8c5b8249a706467910d42ee51eb6032ccd/catalog/internal/utils.go#L137-L138, it will result in nil map assignment. Similar is happening in ``` func prepareProperties(icebergProperties iceberg.Properties, newMetadataLocation string) iceberg.Properties { glueProperties := maps.Clone(icebergProperties) ``` where if staged table has no properties in the metadata, it will return nil and causing nil map. -- 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