Github user budde commented on the issue: https://github.com/apache/spark/pull/16944 I've updated the PR based on feedback received. Changes from previous commit: - Fixed a couple indent issues - Clarify some HiveSchemaInferenceSuite comments and general cleanup - Add CatalogTable checks and ```NEVER_INFER``` test to SchemaInferenceSuite - Added additional info/error logging to HiveMetastoreCatalog - Catch nonfatal exceptions from alterTable() call in HiveMetastoreCatalog - Change param name to ```spark.sql.hive.caseSensitiveInferenceMode``` - Rename ```CatalogTable.schemaFromTableProps``` to ```CatalogTable.schemaPreservesCase``` - Introduce ```HiveCaseSensitiveInferenceMode``` enumeration type to get rid of "magic strings" used for inference modes - Use updated CatalogTable record in LogicalRelation if ```INFER_AND_SAVE``` used
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org