Hi Freddy,

A simple answer is NO.

IIUC, ORC is designed to work on HDFS which is append-only. Therefore ORC
file is immutable once the writing is done.

Hive provides an advanced feature for update and delete with ORC:
https://orc.apache.org/docs/acid.html. Not sure if you are looking for
something like this.

Thanks,
Gang

On Thu, Jun 14, 2018 at 8:08 AM, Freddy Guime <[email protected]> wrote:

> Hi!
>
>
>
> Sorry for the beginner question, but I’m finding my google-fu is not
> enough to find an answer.
>
>
>
> I’m trying to write orc files directly. I think I can read and write fine,
> but now I want to read, then update a record within the Orc file and save
> the changes.
>
>
>
> Is there an example? Or is the only way is to read from a source file and
> write (modified) to a destination orc file?
>
>
>
> The examples in the repo seems all read or all write, but no update?
>
>
>

Reply via email to