HyukjinKwon opened a new pull request, #48956:
URL: https://github.com/apache/arrow/pull/48956

   ### Rationale for this change
   
   The TODO comment in `vector_array_sort.cc` asking whether 
`DictionaryArray::dictionary()` and `DictionaryArray::indices()` should return 
`const&` has been obsolete.
   
   It was added in commit 6ceb12f700a when dictionary array sorting was 
implemented. At that time, these methods returned `std::shared_ptr<Array>` by 
value, causing unnecessary copies.
   
   The issue was fixed in commit 95a8bfb319b which changed both methods to 
return `const std::shared_ptr<Array>&`, removing the copies. However, the TODO 
comment was left unremoved.
   
   ### What changes are included in this PR?
   
   Removed the outdated TODO comment that referenced GH-35437.
   
   ### Are these changes tested?
   
   I did not test.
   
   ### Are there any user-facing changes?
   
   No.


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