wypoon commented on PR #7469: URL: https://github.com/apache/iceberg/pull/7469#issuecomment-1535713944
Thanks @szehon-ho. The `SparkCatalog` holds an instance of an Iceberg `Catalog` (in the `icebergCatalog` field), and uses it to implement the Spark `TableCatalog` functionality. The implementation of Iceberg `Catalog` that it uses depends on configuration; e.g., spark.sql.catalog.<catalog_name>.type=hive means a `HiveCatalog` is used; spark.sql.catalog.<catalog_name>.type=hadoop means a `HadoopCatalog` is used; and I already mentioned above how a `NessieCatalog` can be configured. This `Catalog` is then wrapped in a `CachingCatalog` if caching is enabled. I wouldn't call it a limitation of Hive that the `HiveCatalog` is case insensitive; I would call it a feature. :-) Come to think of it, the `HadoopCatalog` must be case sensitive, since the path is constructed from the database and table name, and the path is case sensitive. -- 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]
