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/06/11 01:31:15 UTC
(arrow-nanoarrow) branch main updated: Update dist/ for commit f443e46163ded43ddb5e024c1a2f1fddd3b43c3f
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 784325be Update dist/ for commit f443e46163ded43ddb5e024c1a2f1fddd3b43c3f
784325be is described below
commit 784325be6c3ac85fca46e894af9d0fdfd0bc324e
Author: GitHub Actions <ac...@github.com>
AuthorDate: Tue Jun 11 01:31:10 2024 +0000
Update dist/ for commit f443e46163ded43ddb5e024c1a2f1fddd3b43c3f
---
dist/nanoarrow.c | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/dist/nanoarrow.c b/dist/nanoarrow.c
index 37d14305..c4897cfa 100644
--- a/dist/nanoarrow.c
+++ b/dist/nanoarrow.c
@@ -2984,14 +2984,11 @@ static int ArrowArrayViewValidateMinimal(struct ArrowArrayView* array_view,
// uint64_t is used here to avoid overflow when adding the offset and length
if ((uint64_t)array_view->offset + (uint64_t)array_view->length >
(uint64_t)max_length) {
- ArrowErrorSet(
- error,
- "Offset + length of a run-end encoded array must fit in a value"
- " of the run end type %s, but offset + length is %lu while the "
- "allowed maximum is %lu",
- ArrowTypeString(run_ends_view->storage_type),
- (unsigned long)array_view->offset + (unsigned long)array_view->length,
- (unsigned long)max_length);
+ ArrowErrorSet(error,
+ "Offset + length of a run-end encoded array must fit in a value"
+ " of the run end type %s, but offset + length is %ld",
+ ArrowTypeString(run_ends_view->storage_type),
+ (long)array_view->offset + (long)array_view->length);
return EINVAL;
}
if (run_ends_view->length > values_view->length) {