orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiening Dai <xndai....@live.com>
Subject Re: ORC magic
Date Fri, 15 Dec 2017 07:11:18 GMT
It looks like our reader implementation (both java and c++) doesn’t verify file begins with
“ORC”.

> On Dec 14, 2017, at 7:16 PM, Deepak Majeti <majeti.deepak@gmail.com> wrote:
> 
> Hi Dain,
> 
> The ORC spec requires that a file start with "ORC".
> 
> From https://orc.apache.org/docs/file-tail.html
> 
> "The file is broken in to three parts- Header, Body, and Tail. The Header
> consists of the bytes “ORC’’ to support tools that want to scan the front
> of the file to determine the type of the file."
> 
> On Thu, Dec 14, 2017 at 2:00 PM, Dain Sundstrom <dain@iq80.com> wrote:
> 
>> Does the ORC spec require that a file start with “ORC”?
>> 
>> -dain
> 
> 
> 
> 
> -- 
> regards,
> Deepak Majeti

Mime
View raw message