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

   
   ### Rationale for this change
   I was unable to use compute::SortIndices with timestamp type because of 
crash.
   ### What changes are included in this PR?
   Fix. The issue was that comparator for merging record batches was not 
converting timestamp type to its physical variant. 
   so it crashed on null pointer reference on [checked_cast 
result](https://github.com/apache/arrow/blob/d0919579cbdd37549ba163c0d61843f04bac92cd/cpp/src/arrow/compute/kernels/chunked_internal.h#L55)
   ### Are these changes tested?
   yes
   ### Are there any user-facing changes?
   
   **This PR contains a "Critical Fix".** (If the changes fix either (a) a 
security vulnerability, (b) a bug that caused incorrect or invalid data to be 
produced, or (c) a bug that causes a crash (even when the API contract is 
upheld), please provide explanation. If not, you can remove this.)
   i've already provided, i suppose


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