R-JunmingChen commented on code in PR #37418:
URL: https://github.com/apache/arrow/pull/37418#discussion_r1333749481
##########
cpp/src/arrow/compute/api_vector.h:
##########
@@ -586,6 +586,20 @@ Result<Datum> DictionaryEncode(
const DictionaryEncodeOptions& options =
DictionaryEncodeOptions::Defaults(),
ExecContext* ctx = NULLPTR);
+/// \brief Compact a dictionary array
+///
+/// The output removes unused values in dictionary from the input.
+/// The function assumes every indice is effective.
Review Comment:
Sure, I change to the following words:
The function assumes every indice has its corresponding value in dictionary.
--
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]