Github user rajeshbalamohan commented on the issue:

    https://github.com/apache/spark/pull/14537
  
    For non-partitioned ORC, it is currently using the metastore schema and is 
not inferring the schema currently in HiveMetastoreCatalog, and hence not an 
issue. But the problem of wrong mapping (i.e physical col name in file being 
different than that of metastore) still exists.  The more I see it, it would be 
easier to club the patches in this JIRA itself.  If so, HiveMetastoreCatalog 
could just rely on metastoreSchema and ORCFileFormat can later do the mapping 
if the mappings are different. I will revise the patch to include this scenario 
and post 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]

Reply via email to