GitHub user rajeshbalamohan opened a pull request:
https://github.com/apache/spark/pull/12293
SPARK-14387. [SQL] Exceptions thrown when querying ORC tables stored â¦
## What changes were proposed in this pull request?
Physical files stored in Hive as ORC would have internal columns as
_col1,_col2 etc and column mapping would be available in HiveMetastore. It was
possible to query ORC tables stored in Hive via Spark's beeline client in
earlier branches, and with master branch this was broken. When reading ORC
files, it would be good map hive schema to physical schema for supporting
backward compatibility. This PR addresses this issue.
## How was this patch tested?
Manual execution of TPC-DS queries at 200 GB scale.
(If this patch involves UI changes, please attach a screenshot; otherwise,
remove this)
â¦in Hive
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rajeshbalamohan/spark SPARK-14387
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12293.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #12293
----
commit 1bc4e98ff19e76a2302003268c7a2c374647aad3
Author: Rajesh Balamohan <[email protected]>
Date: 2016-04-11T05:53:24Z
SPARK-14387. [SQL] Exceptions thrown when querying ORC tables stored in Hive
----
---
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]