You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by ga...@apache.org on 2023/05/23 07:35:07 UTC

[orc] 01/01: MINOR: Fix comment in the Vector.hh

This is an automated email from the ASF dual-hosted git repository.

gangwu pushed a commit to branch fix_comment_vector
in repository https://gitbox.apache.org/repos/asf/orc.git

commit 411d4c59c4cee9264b7d987639d4cc8f0f4299aa
Author: Gang Wu <us...@gmail.com>
AuthorDate: Tue May 23 15:34:58 2023 +0800

    MINOR: Fix comment in the Vector.hh
---
 c++/include/orc/Vector.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/c++/include/orc/Vector.hh b/c++/include/orc/Vector.hh
index f6419e93e..0dfe92696 100644
--- a/c++/include/orc/Vector.hh
+++ b/c++/include/orc/Vector.hh
@@ -37,10 +37,10 @@ namespace orc {
    * The base class for each of the column vectors. This class handles
    * the generic attributes such as number of elements, capacity, and
    * notNull vector.
-   * Note: If hasNull is true, the values in the notNull buffer are not required.
+   * Note: If hasNull is false, the values in the notNull buffer are not required.
    * On the writer side, it does not read values from notNull buffer so users are
-   * not expected to write notNull buffer if hasNull is true. On the reader side,
-   * it does not set notNull buffer if hasNull is true, meaning that it is undefined
+   * not expected to write notNull buffer if hasNull is false. On the reader side,
+   * it does not set notNull buffer if hasNull is false, meaning that it is undefined
    * behavior to consume values from notNull buffer in this case by downstream users.
    */
   struct ColumnVectorBatch {