Ok, we should have documented that call in the user docs better. Sorry
about that!

The JavaDoc is probably better documentation:
https://github.com/apache/orc/blob/master/java/core/src/java/org/apache/orc/OrcFile.java#L773

I must not have updated the Javadoc on the website when I rolled ORC's 1.3
release. OrcFile.readerIsCompatible is the code that figures out whether
two files can be merged together or not. Basically, the footers of the
files have to be compatible with each other.

.. Owen

On Sun, Apr 23, 2017 at 11:56 PM, Prasanth Jayachandran <
[email protected]> wrote:

> Hi Ben
>
> Following test case illustrates the usage of merge files API..
>
> https://github.com/apache/orc/blob/ce5213b2ac7e17f28356cbf2bc4d9b
> 43b00df9af/java/core/src/test/org/apache/orc/TestVectorOrcFile.java#L3148
>
> Hope this helps.
>
> Thanks and Regards,
> Prasanth Jayachandran
>
>
> On Sun, Apr 23, 2017 at 12:02 PM, Ben Johnson <[email protected]> wrote:
>
>> Hi, I couldn't find anything in the Java library documentation, but is
>> there a way to merge ORC files outside of using the hive CONCATENATE feature?
>> Is there a recommend way to achieve this? Perhaps with a function or
>> utility in the Java library?
>>
>> Thanks for your help.
>>
>> Ben
>> Timber.io <https://timber.io/> - Blog <http://blog.timber.io/> - Github
>> <https://github.com/timberio> - Twitter <https://twitter.com/timberdotio>
>>
>
>

Reply via email to