You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by gi...@apache.org on 2024/01/28 01:28:23 UTC

(arrow-nanoarrow) branch main updated: Update dist/ for commit dab87aaea4c2c05d24b745d58e50726bd0553452

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

github-bot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-nanoarrow.git


The following commit(s) were added to refs/heads/main by this push:
     new bece913d Update dist/ for commit dab87aaea4c2c05d24b745d58e50726bd0553452
bece913d is described below

commit bece913d3df8798d1689c4c0b80adee538ae9b36
Author: GitHub Actions <ac...@github.com>
AuthorDate: Sun Jan 28 01:28:18 2024 +0000

    Update dist/ for commit dab87aaea4c2c05d24b745d58e50726bd0553452
---
 dist/nanoarrow.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dist/nanoarrow.h b/dist/nanoarrow.h
index 1420949c..e338560f 100644
--- a/dist/nanoarrow.h
+++ b/dist/nanoarrow.h
@@ -3318,6 +3318,10 @@ static inline ArrowErrorCode ArrowArrayAppendInterval(struct ArrowArray* array,
       return EINVAL;
   }
 
+  if (private_data->bitmap.buffer.data != NULL) {
+    NANOARROW_RETURN_NOT_OK(ArrowBitmapAppend(ArrowArrayValidityBitmap(array), 1, 1));
+  }
+
   array->length++;
   return NANOARROW_OK;
 }