You may want to start from their current development rather than starting from 
scratch. It looks like their license is the MIT license, which is very 
permissive.

If you do create a writer, I’d ask you to both keep us informed and request a 
writer id.
https://github.com/apache/orc/blob/d082718a0bf8d703c96f3bf39ea02307498d1800/proto/orc_proto.proto#L211
 
<https://github.com/apache/orc/blob/d082718a0bf8d703c96f3bf39ea02307498d1800/proto/orc_proto.proto#L211>

The writer ids are useful in case we need to work around bugs in a particular 
implementation.

Thanks,
   Owen



> On Mar 27, 2019, at 8:16 AM, yanglei <lei.y...@cinfotech.cn> wrote:
> 
> Hi, Owen
>  
> I had already checked this lib, but writer is not ready till now. I cannot 
> wait, so I am planning to build a writer myself.
>  
> Thanks
>  
> 发件人: Owen O'Malley <owen.omal...@gmail.com <mailto:owen.omal...@gmail.com>>
> 答复: <user@orc.apache.org <mailto:user@orc.apache.org>>
> 日期: 2019年3月27日 星期三 04:26
> 收件人: <user@orc.apache.org>
> 主题: Re: About ORC API Library
>  
> You should check on - https://github.com/scritchley/orc 
> <https://github.com/scritchley/orc> , which is a native Go implementation for 
> an ORC reader. The read me says that a writer is in progress.
>  
> .. Owen
>  
> On Wed, Mar 20, 2019 at 9:56 PM Gang Wu <gan...@apache.org 
> <mailto:gan...@apache.org>> wrote:
>> Hi Lei,
>>  
>> Unfortunately we don't have a Go binding for the ORC writer. I am not sure 
>> if it is possible for you to use cgo package in Go to call C++ API in your 
>> application?
>>  
>> Thanks,
>> Gang
>>  
>> On Tue, Mar 19, 2019 at 10:44 PM yanglei <lei.y...@cinfotech.cn 
>> <mailto:lei.y...@cinfotech.cn>> wrote:
>>> Dear Team
>>>  
>>> I am working on a project using golang to import data into hive table.
>>> To get the best performance, I need this golang program to write ORC files 
>>> to hdfs directly and load the data into hive table from the ORC file in 
>>> hdfs.
>>> I searched google and github and found no ORC writer till now.
>>> Is there any possible to provide golang API officially?
>>>  
>>> BR
>>>  
>>> Lei
>>> 2019-03-20

Reply via email to