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

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

chawlakunal commented on issue #411: PARQUET-968 Add Hive/Presto support in 
ProtoParquet
URL: https://github.com/apache/parquet-mr/pull/411#issuecomment-385068068
 
 
   @BenoitHanotte @costimuraru @julienledem  There is no way to instantiate 
ProtoParquetWriter with parquet.proto.writeSpecsCompliant flag enabled. Am I 
missing something or is this intentional? It would have been great if a 
constructor to enable the flag was provided.
   
   ```
   public ProtoParquetWriter(Path file, Class<? extends Message> protoMessage,
             CompressionCodecName compressionCodecName, int blockSize, int 
pageSize, boolean enableDictionary,
             boolean validating, boolean writeSpecsCompliant) throws 
IOException {
         super(file, new ProtoWriteSupport(protoMessage), compressionCodecName, 
blockSize, pageSize, pageSize,
                 enableDictionary, validating, DEFAULT_WRITER_VERSION,
                 getConfigWithWriteSpecsCompliant(writeSpecsCompliant));
     }
     
     private static Configuration getConfigWithWriteSpecsCompliant(boolean 
writeSpecsCompliant) {
         Configuration config = new Configuration();
         ProtoWriteSupport.setWriteSpecsCompliant(config, writeSpecsCompliant);
         return config;
     }
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


> 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