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

ASF GitHub Bot commented on ORC-443:
------------------------------------

fangzheng commented on a change in pull request #344: ORC-443: [C++] Code 
improvements in ColumnWriter.
URL: https://github.com/apache/orc/pull/344#discussion_r237959714
 
 

 ##########
 File path: c++/src/ByteRLE.cc
 ##########
 @@ -55,7 +55,7 @@ namespace orc {
     virtual uint64_t getBufferSize() const override;
 
     /**
-     * Flushing underlying BufferedOutputStream
+     * Flush underlying BufferedOutputStream.
     */
 
 Review comment:
   Done.

----------------------------------------------------------------
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


> [C++] Code improvements in ColumnWriter
> ---------------------------------------
>
>                 Key: ORC-443
>                 URL: https://issues.apache.org/jira/browse/ORC-443
>             Project: ORC
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Fang Zheng
>            Priority: Minor
>
> A few changes to ColumnWriter and its derived classes:
> 1. in add() function, re-order code to verify input parameters before 
> modifying any internal state.
> 2. in add() function, move the calls to colIndexStatistics->increase(1) out 
> of the loop. Many of those are virtual function calls.



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

Reply via email to