Github user gatorsmile commented on the issue:
https://github.com/apache/spark/pull/14537
I quickly checked the latest fixes. It is based on a few assumptions. For
example, the column order and length of metastore schema are the same as the
physical schema. I am not sure whether we can make such an assumption.
I saw the previously comment by @cloud-fan
https://github.com/apache/spark/pull/14365#issuecomment-236875668 in another PR
https://github.com/apache/spark/pull/14365.
Maybe we do not need to infer the schema in both cases. Just use the
metastore schema. If it does not match with the physical schema, we do not
convert Hive orc tables to data source tables.
---
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]