ixzc commented on issue #21695:
URL: https://github.com/apache/doris/issues/21695#issuecomment-1719048720

   > ### Search before asking
   > * [x]  I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   > 
   > ### Version
   > 1.2.4.1
   > 
   > ### What's Wrong?
   > java.sql.SQLException: errCode = 2, detailMessage = No matching function 
with signature: array_reverse_sort(array<int(11)>)
   > 
   > ### What You Expected?
   > SELECT schedule_id, MAX(seq) AS max_seq, MIN(seq) AS min_seq, 
ARRAY_JOIN(ARRAY_SORT(COLLECT_LIST(seq)), ',') AS seqs, 
ARRAY_JOIN(ARRAY_REVERSE_SORT(COLLECT_LIST(seq)), ',') AS reverse_seqs FROM 
test.ods_sys_basic_vesselschedule_basicinfo_transitport_df GROUP BY schedule_id;
   > 
   > ### How to Reproduce?
   > _No response_
   > 
   > ### Anything Else?
   > _No response_
   > 
   > ### Are you willing to submit PR?
   > * [ ]  Yes I am willing to submit a PR!
   > 
   > ### Code of Conduct
   > * [x]  I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   The ARRAY REVERSE SORT function is not available until 2.0
   <img width="488" alt="image" 
src="https://github.com/apache/doris/assets/49646212/4eb2e15c-b754-427c-b688-9637b7ba62bc";>
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to