wesm commented on code in PR #13364:
URL: https://github.com/apache/arrow/pull/13364#discussion_r895067323
##########
cpp/src/arrow/scalar.h:
##########
@@ -129,6 +135,9 @@ namespace internal {
struct ARROW_EXPORT PrimitiveScalarBase : public Scalar {
using Scalar::Scalar;
+ /// \brief Get an immutable pointer to the value of this scalar. May be null.
+ virtual const void* data() const = 0;
Review Comment:
Removing this API since `view()` already gives me the pointer I need
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]