hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mich Talebzadeh <mich.talebza...@gmail.com>
Subject Re: Hive orc use case
Date Mon, 26 Sep 2016 09:26:30 GMT
I have not encountered this case before.

However, you can create a temporary table in Hive put all writes into it,
read the rows as needed, and finally append data from the temporary table
to ORC once reads are done.

HTH

Dr Mich Talebzadeh



LinkedIn * https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
<https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw>*



http://talebzadehmich.wordpress.com


*Disclaimer:* Use it at your own risk. Any and all responsibility for any
loss, damage or destruction of data or any other property which may arise
from relying on this email's technical content is explicitly disclaimed.
The author will in no case be liable for any monetary damages arising from
such loss, damage or destruction.



On 26 September 2016 at 09:18, Amey Barve <ameybarve15@gmail.com> wrote:

> Hi All,
>
> I have an use case where I need to append either 1 or many rows to orcFile
> as well as read 1 or many rows from it.
>
> I observed that I cannot read rows from OrcFile unless I close the
> OrcFile's writer, is this correct?
>
> Why doesn't write actually flush the rows to the orcFile, is there any
> alternative where I write the rows as well as read them without closing the
> orcFile's writer ?
>
> Thanks and Regards,
> Amey
>

Mime
View raw message