You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by cu...@apache.org on 2023/11/09 20:47:46 UTC

(arrow-adbc) branch main updated: fix(csharp): fix timestamp case in AdbcStatement.GetValue (#1279)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 8c801c1c fix(csharp): fix timestamp case in AdbcStatement.GetValue (#1279)
8c801c1c is described below

commit 8c801c1c084357feab5808d9bdcc462394991042
Author: Curt Hagenlocher <cu...@hagenlocher.org>
AuthorDate: Thu Nov 9 12:47:41 2023 -0800

    fix(csharp): fix timestamp case in AdbcStatement.GetValue (#1279)
    
    Fixes #1278
---
 csharp/src/Apache.Arrow.Adbc/AdbcStatement.cs | 3 +--
 csharp/src/arrow                              | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/csharp/src/Apache.Arrow.Adbc/AdbcStatement.cs b/csharp/src/Apache.Arrow.Adbc/AdbcStatement.cs
index 1ff714b3..0f537257 100644
--- a/csharp/src/Apache.Arrow.Adbc/AdbcStatement.cs
+++ b/csharp/src/Apache.Arrow.Adbc/AdbcStatement.cs
@@ -186,8 +186,7 @@ namespace Apache.Arrow.Adbc
                 case Time64Array time64Array:
                     return time64Array.GetValue(index);
                 case TimestampArray timestampArray:
-                    DateTimeOffset dateTimeOffset = timestampArray.GetTimestamp(index).Value;
-                    return dateTimeOffset;
+                    return timestampArray.GetTimestamp(index);
                 case UInt8Array uInt8Array:
                     return uInt8Array.GetValue(index);
                 case UInt16Array uInt16Array:
diff --git a/csharp/src/arrow b/csharp/src/arrow
index 57f643c2..79e328b3 160000
--- a/csharp/src/arrow
+++ b/csharp/src/arrow
@@ -1 +1 @@
-Subproject commit 57f643c2cecca729109daae18c7a64f3a37e76e4
+Subproject commit 79e328b3b7ce23002bc46904c1944654ce4cd0a3