You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@orc.apache.org by Srinivas M <sm...@gmail.com> on 2016/12/20 13:09:02 UTC

Limit the size of the ORC File.

Hi

I have an application that writes ORC files. I want to limit the size of
the file that is written by the application. In case I am writing huge data
using the application, I want to set the maximum size of each file that is
written. Is there an option or mechanism in the ORC API that can allow me
to split the file into multiple files ?

For example, If I am writing 1G of data into ORC files, instead of writing
one big file, I want to write that into multiple files of 100Mb each. Is
there a way to do it ?

-- 
Srinivas
(*-*)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
You have to grow from the inside out. None can teach you, none can make you
spiritual.
                      -Narendra Nath Dutta(Swamy Vivekananda)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------