You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Rishabh Rana (Jira)" <ji...@apache.org> on 2022/05/26 10:29:00 UTC
[jira] [Updated] (ARROW-16660) [C#] Add support for Time32Array and Time64Array
[ https://issues.apache.org/jira/browse/ARROW-16660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rishabh Rana updated ARROW-16660:
---------------------------------
Description:
C# Implementation does not support reading/writing Time32Array and Time64Array which makes it unusable to read/write Arrow batches containing these array types.
As the native TimeSpan class in C# only supports resolution in milliseconds, it cannot be used to implement both these types of arrays in a consistent manner. These arrays can, however be supported as simple Int32/ Int64 arrays which represent seconds/ milliseconds/ microseconds/ nanoseconds passed since midnight which the user should parse as needed.
was:
C# Implementation does not support reading Time32Array and Time64Array which makes it unusable to read Arrow batches containing these array types.
As the native TimeSpan class in C# only supports resolution in milliseconds, it cannot be used to implement both these types of arrays in a consistent manner. These arrays can, however be supported as simple Int32/ Int64 arrays which represent seconds/ milliseconds/ microseconds/ nanoseconds passed since midnight which the user should parse as needed.
> [C#] Add support for Time32Array and Time64Array
> ------------------------------------------------
>
> Key: ARROW-16660
> URL: https://issues.apache.org/jira/browse/ARROW-16660
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C#
> Reporter: Rishabh Rana
> Priority: Major
>
> C# Implementation does not support reading/writing Time32Array and Time64Array which makes it unusable to read/write Arrow batches containing these array types.
>
> As the native TimeSpan class in C# only supports resolution in milliseconds, it cannot be used to implement both these types of arrays in a consistent manner. These arrays can, however be supported as simple Int32/ Int64 arrays which represent seconds/ milliseconds/ microseconds/ nanoseconds passed since midnight which the user should parse as needed.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)