You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Daniel Haviv <da...@veracity-group.com> on 2016/12/15 18:06:14 UTC

Column names in ORC file

Hi,
When I'm generating ORC files using spark the column names are written into
the ORC file but when generated using Hive I get the following column names:

_col107, _col33, _col23, _col102


Is it possible to somehow configure hive to properly store the column
names like Spark?


Thank you,

Daniel

Re: Column names in ORC file

Posted by Owen O'Malley <om...@apache.org>.
Yes, it was fixed in HIVE-4243.

.. Owen

On Thu, Dec 15, 2016 at 10:21 AM, Elliot West <te...@gmail.com> wrote:

> Possibly related to HIVE-4243 which was fixed in Hive 2.0.0:
> https://issues.apache.org/jira/browse/HIVE-4243
>
>
> On Thu, 15 Dec 2016 at 18:06, Daniel Haviv <daniel.haviv@veracity-group.
> com> wrote:
>
>> Hi,
>> When I'm generating ORC files using spark the column names are written
>> into the ORC file but when generated using Hive I get the following column
>> names:
>>
>> _col107, _col33, _col23, _col102
>>
>>
>> Is it possible to somehow configure hive to properly store the column names like Spark?
>>
>>
>> Thank you,
>>
>> Daniel
>>
>>
>>
>>

Re: Column names in ORC file

Posted by Elliot West <te...@gmail.com>.
Possibly related to HIVE-4243 which was fixed in Hive 2.0.0:
https://issues.apache.org/jira/browse/HIVE-4243


On Thu, 15 Dec 2016 at 18:06, Daniel Haviv <da...@veracity-group.com>
wrote:

> Hi,
> When I'm generating ORC files using spark the column names are written
> into the ORC file but when generated using Hive I get the following column
> names:
>
> _col107, _col33, _col23, _col102
>
>
> Is it possible to somehow configure hive to properly store the column names like Spark?
>
>
> Thank you,
>
> Daniel
>
>
>
>