diff options
author | windpiger <songjun@outlook.com> | 2017-02-11 22:21:14 -0800 |
---|---|---|
committer | Xiao Li <gatorsmile@gmail.com> | 2017-02-11 22:21:14 -0800 |
commit | 3881f342b49efdb1e0d5ee27f616451ea1928c5d (patch) | |
tree | 9e1473aa757943cc46280cf67cbb874c176c209e /R | |
parent | 0fbecc736df95bf757cb497c108ae3dbc5893829 (diff) | |
download | spark-3881f342b49efdb1e0d5ee27f616451ea1928c5d.tar.gz spark-3881f342b49efdb1e0d5ee27f616451ea1928c5d.tar.bz2 spark-3881f342b49efdb1e0d5ee27f616451ea1928c5d.zip |
[SPARK-19448][SQL] optimize some duplication functions between HiveClientImpl and HiveUtils
## What changes were proposed in this pull request?
There are some duplicate functions between `HiveClientImpl` and `HiveUtils`, we can merge them to one place. such as: `toHiveTable` 、`toHivePartition`、`fromHivePartition`.
And additional modify is change `MetastoreRelation.attributes` to `MetastoreRelation.dataColKeys`
https://github.com/apache/spark/blob/master/sql/hive/src/main/scala/org/apache/spark/sql/hive/MetastoreRelation.scala#L234
## How was this patch tested?
N/A
Author: windpiger <songjun@outlook.com>
Closes #16787 from windpiger/todoInMetaStoreRelation.
Diffstat (limited to 'R')
0 files changed, 0 insertions, 0 deletions