mirror of
https://github.com/apache/impala.git
synced 2026-01-31 09:00:19 -05:00
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 <amsinha@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>