bkietz commented on a change in pull request #7026:
URL: https://github.com/apache/arrow/pull/7026#discussion_r417340926



##########
File path: cpp/src/arrow/scalar.h
##########
@@ -78,6 +78,8 @@ struct ARROW_EXPORT Scalar : public 
util::EqualityComparable<Scalar> {
   // TODO(bkietz) add compute::CastOptions
   Result<std::shared_ptr<Scalar>> CastTo(std::shared_ptr<DataType> to) const;
 
+  static Result<std::shared_ptr<Scalar>> FromArraySlot(const Array& array, 
int64_t index);

Review comment:
       I'll move it




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to