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 2023/08/15 01:24:05 UTC
[arrow-nanoarrow] branch main updated: Update dist/ for commit 6e596bdc7116af8307bad756cd5bb6147f8a0494
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 2bd9519 Update dist/ for commit 6e596bdc7116af8307bad756cd5bb6147f8a0494
2bd9519 is described below
commit 2bd9519889465a8adff8a0c0f03fd9ed95bd1561
Author: GitHub Actions <ac...@github.com>
AuthorDate: Tue Aug 15 01:24:00 2023 +0000
Update dist/ for commit 6e596bdc7116af8307bad756cd5bb6147f8a0494
---
dist/nanoarrow.c | 2 +-
dist/nanoarrow.h | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dist/nanoarrow.c b/dist/nanoarrow.c
index 1e31b41..fc23c71 100644
--- a/dist/nanoarrow.c
+++ b/dist/nanoarrow.c
@@ -1444,7 +1444,7 @@ static int64_t ArrowSchemaTypeToStringInternal(struct ArrowSchemaView* schema_vi
}
}
-// Helper for bookeeping to emulate sprintf()-like behaviour spread
+// Helper for bookkeeping to emulate sprintf()-like behaviour spread
// among multiple sprintf calls.
static inline void ArrowToStringLogChars(char** out, int64_t n_chars_last,
int64_t* n_remaining, int64_t* n_chars) {
diff --git a/dist/nanoarrow.h b/dist/nanoarrow.h
index 666dea1..84440dc 100644
--- a/dist/nanoarrow.h
+++ b/dist/nanoarrow.h
@@ -264,7 +264,7 @@ typedef int ArrowErrorCode;
/// \ingroup nanoarrow-errors
///
/// If nanoarrow was built in debug mode (i.e., defined(NANOARROW_DEBUG) is true),
-/// print a message to stderr and abort. If nanoarrow was bulit in release mode,
+/// print a message to stderr and abort. If nanoarrow was built in release mode,
/// this statement has no effect. You can customize fatal error behaviour
/// be defining the NANOARROW_PRINT_AND_DIE macro before including nanoarrow.h
/// This macro is provided as a convenience for users and is not used internally.
@@ -1252,7 +1252,7 @@ ArrowErrorCode ArrowMetadataBuilderRemove(struct ArrowBuffer* buffer,
/// Contains more readily extractable values than a raw ArrowSchema.
/// Clients can stack or statically allocate this structure but are
/// encouraged to use the provided getters to ensure forward
-/// compatiblity.
+/// compatibility.
struct ArrowSchemaView {
/// \brief A pointer to the schema represented by this view
struct ArrowSchema* schema;
@@ -1725,7 +1725,7 @@ ArrowErrorCode ArrowArrayFinishBuildingDefault(struct ArrowArray* array,
/// (i.e. NANOARROW_VALIDATION_LEVEL_NONE or NANOARROW_VALIDATION_LEVEL_MINIMAL) if CPU
/// buffer data access is not possible or more validation (i.e.,
/// NANOARROW_VALIDATION_LEVEL_FULL) if buffer content was obtained from an untrusted or
-/// corruptable source.
+/// corruptible source.
ArrowErrorCode ArrowArrayFinishBuilding(struct ArrowArray* array,
enum ArrowValidationLevel validation_level,
struct ArrowError* error);
@@ -3059,7 +3059,7 @@ static inline ArrowErrorCode ArrowArrayFinishUnionElement(struct ArrowArray* arr
switch (private_data->storage_type) {
case NANOARROW_TYPE_DENSE_UNION:
- // Apppend the target child length to the union offsets buffer
+ // Append the target child length to the union offsets buffer
_NANOARROW_CHECK_RANGE(array->children[child_index]->length, 0, INT32_MAX);
NANOARROW_RETURN_NOT_OK(ArrowBufferAppendInt32(
ArrowArrayBuffer(array, 1), (int32_t)array->children[child_index]->length - 1));