[ 
https://issues.apache.org/jira/browse/PARQUET-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458109#comment-16458109
 ] 

ASF GitHub Bot commented on PARQUET-968:
----------------------------------------

BenoitHanotte commented on issue #411: PARQUET-968 Add Hive/Presto support in 
ProtoParquet
URL: https://github.com/apache/parquet-mr/pull/411#issuecomment-385270695
 
 
   @chawlakunal you can manually create your ParquetWriter by providing the 
ProtoWriteSupport as following:
   ```
   Configuration conf = new Configuration();
   ProtoWriteSupport.setWriteSpecsCompliant(true, conf); // set the flag in the 
configuration
   new ParquetWriter(file, conf, new ProtoWriteSupport(protoClass));
   ```
   (or any variation of this as ParquetWriter has multiple constructors that 
accept a configuration in which we can set the flag)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Add Hive/Presto support in ProtoParquet
> ---------------------------------------
>
>                 Key: PARQUET-968
>                 URL: https://issues.apache.org/jira/browse/PARQUET-968
>             Project: Parquet
>          Issue Type: Task
>            Reporter: Constantin Muraru
>            Assignee: Constantin Muraru
>            Priority: Major
>             Fix For: 1.11
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to