[ 
https://issues.apache.org/jira/browse/IMPALA-10961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17519010#comment-17519010
 ] 

ASF subversion and git services commented on IMPALA-10961:
----------------------------------------------------------

Commit 7b235eebd5dda9074e2b7724e6b290f49c1bb8ce in impala's branch 
refs/heads/master from Joe McDonnell
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=7b235eebd ]

IMPALA-11230: Add test for crash in partitioned Top-N codegen code

User workloads hit a crash for certain queries that
use partitioned Top-N operators. The crash occurred
only when codegen is enabled. After investigation,
the crash was due to a nullptr being passed into
TupleRowComparator::Compare(). The issue was fixed
as part of IMPALA-10961.

This adds a test case with a SQL statement that
triggers a crash if IMPALA-10961 is not present.

Change-Id: I6909ef660b01ad3d301273deb8a8c31120445f79
Reviewed-on: http://gerrit.cloudera.org:8080/18389
Reviewed-by: Aman Sinha <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Implement 3-way quicksort in sorter
> -----------------------------------
>
>                 Key: IMPALA-10961
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10961
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>            Reporter: Csaba Ringhofer
>            Assignee: Noemi Pap-Takacs
>            Priority: Major
>              Labels: performance
>         Attachments: checksorted.patch, qsort.cc
>
>
> Using 3-way partitioning in quicksort could massively speed up sorting if 
> there is a large number of duplicate elements. This is very common in sorts 
> before partitioned inserts.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to