emkornfield commented on a change in pull request #7816:
URL: https://github.com/apache/arrow/pull/7816#discussion_r463916695



##########
File path: cpp/src/arrow/python/python_to_arrow.cc
##########
@@ -240,19 +242,20 @@ struct ValueConverter<TimestampType> {
   static inline Result<int64_t> FromPython(PyObject* obj, TimeUnit::type unit) 
{
     int64_t value;
     if (PyDateTime_Check(obj)) {
+      ARROW_ASSIGN_OR_RAISE(auto offset, 
internal::PyDateTime_utcoffset_s(obj));

Review comment:
       can the type be spelled out instead of auto?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to