WillAyd commented on code in PR #758:
URL: https://github.com/apache/arrow-adbc/pull/758#discussion_r1224839989


##########
c/driver/postgresql/postgres_copy_reader.h:
##########
@@ -635,6 +635,19 @@ static inline ArrowErrorCode MakeCopyFieldReader(const 
PostgresType& pg_type,
         default:
           return ErrorCantConvert(error, pg_type, schema_view);
       }
+
+    case NANOARROW_TYPE_TIMESTAMP:
+      switch (pg_type.type_id()) {
+        case PostgresTypeId::kTimestamp: {
+          // 2000-01-01 00:00:00.000000 in microseconds

Review Comment:
   Is this enforced on the arrow side? I though Postgres used the unix epoch?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to