pitrou commented on a change in pull request #8145:
URL: https://github.com/apache/arrow/pull/8145#discussion_r501180479



##########
File path: python/pyarrow/_compute.pyx
##########
@@ -669,3 +669,13 @@ cdef class StrptimeOptions(FunctionOptions):
 
     cdef const CFunctionOptions* get_options(self) except NULL:
         return self.strptime_options.get()
+
+cdef class VarianceOptions(FunctionOptions):
+    cdef:
+        unique_ptr[CVarianceOptions] variance_options

Review comment:
       I'm not sure why `unique_ptr` is used in some of the other classes, but 
it shouldn't be necessary. See `MinMaxOptions` for an example without.




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