zagto commented on code in PR #13330:
URL: https://github.com/apache/arrow/pull/13330#discussion_r949705105


##########
cpp/src/arrow/compute/api_vector.h:
##########
@@ -580,6 +587,26 @@ Result<Datum> DictionaryEncode(
     const DictionaryEncodeOptions& options = 
DictionaryEncodeOptions::Defaults(),
     ExecContext* ctx = NULLPTR);
 
+/// \brief Run-Length-encode values in an array-like object
+/// \param[in] value array-like input
+/// \param[in] ctx the function execution context, optional
+/// \return result with same shape and type as input
+///
+/// \since 9.0.0
+/// \note API not yet finalized
+ARROW_EXPORT
+Result<Datum> RunLengthEncode(const Datum& value, ExecContext* ctx = NULLPTR);

Review Comment:
   Yes, there should be once there are options for this function. I should 
probably remove RunLengthEncodeOptions for now, it does not have any options



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

Reply via email to