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 3383a02 Update dist/ for commit
eb1812d6fef5c1476a37b9a53fefa1f8bec9b339
3383a02 is described below
commit 3383a02b10443d28a829dfb0ad9504d79874befc
Author: GitHub Actions <[email protected]>
AuthorDate: Thu Feb 23 16:13:46 2023 +0000
Update dist/ for commit eb1812d6fef5c1476a37b9a53fefa1f8bec9b339
---
dist/nanoarrow.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dist/nanoarrow.c b/dist/nanoarrow.c
index 18b2371..d96e6e9 100644
--- a/dist/nanoarrow.c
+++ b/dist/nanoarrow.c
@@ -1040,12 +1040,12 @@ static ArrowErrorCode ArrowSchemaViewParse(struct
ArrowSchemaView* schema_view,
case 's':
switch (format[2]) {
case 's':
- ArrowSchemaViewSetPrimitive(schema_view, NANOARROW_TYPE_INT32);
+ ArrowSchemaViewSetPrimitive(schema_view, NANOARROW_TYPE_INT64);
schema_view->type = NANOARROW_TYPE_TIMESTAMP;
schema_view->time_unit = NANOARROW_TIME_UNIT_SECOND;
break;
case 'm':
- ArrowSchemaViewSetPrimitive(schema_view, NANOARROW_TYPE_INT32);
+ ArrowSchemaViewSetPrimitive(schema_view, NANOARROW_TYPE_INT64);
schema_view->type = NANOARROW_TYPE_TIMESTAMP;
schema_view->time_unit = NANOARROW_TIME_UNIT_MILLI;
break;
@@ -1080,13 +1080,13 @@ static ArrowErrorCode ArrowSchemaViewParse(struct
ArrowSchemaView* schema_view,
case 'D':
switch (format[2]) {
case 's':
- ArrowSchemaViewSetPrimitive(schema_view, NANOARROW_TYPE_INT32);
+ ArrowSchemaViewSetPrimitive(schema_view, NANOARROW_TYPE_INT64);
schema_view->type = NANOARROW_TYPE_DURATION;
schema_view->time_unit = NANOARROW_TIME_UNIT_SECOND;
*format_end_out = format + 3;
return NANOARROW_OK;
case 'm':
- ArrowSchemaViewSetPrimitive(schema_view, NANOARROW_TYPE_INT32);
+ ArrowSchemaViewSetPrimitive(schema_view, NANOARROW_TYPE_INT64);
schema_view->type = NANOARROW_TYPE_DURATION;
schema_view->time_unit = NANOARROW_TIME_UNIT_MILLI;
*format_end_out = format + 3;