Github user budde commented on the issue:
https://github.com/apache/spark/pull/16944
I'm looking into it. I would suspect altering the schema outside of Spark
combined with using a Spark-managed metastore rather than an external metastore
may be hitting some sort of edge case. I have everything set up locally but
```beeline``` can't seem to find any of the Hive jars so I'll have to look into
that.
It would be possible to make ```NEVER_INFER``` the default option instead
of ```INFER_AND_SAVE``` but this will result in queries that silently break for
any external Hive Metastore table that contains a case-sensitive field name in
its underlying data. I want to identify the particular behavior that's
happening here and see if there's a suitable way to fix it.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]