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 <[email protected]> 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 <[email protected]> wrote:
> 
>> Does the ORC spec require that a file start with “ORC”?
>> 
>> -dain
> 
> 
> 
> 
> -- 
> regards,
> Deepak Majeti

Reply via email to