impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Tauber-Marshall (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-4731/IMPALA-397/IMPALA-4728: Materialize sort exprs
Date Fri, 03 Mar 2017 20:36:30 GMT
Thomas Tauber-Marshall has posted comments on this change.

Change subject: IMPALA-4731/IMPALA-397/IMPALA-4728: Materialize sort exprs

Patch Set 3:

(1 comment)

A couple of notes on the latest review:

- It has not been tested for performance. That testing will determine the value of 'SORT_MATERIALIZATION_COST_THRESHOLD'
- I'm not super happy with the functional testing, but I'm having a hard time coming up with
good tests.
- It doesn't include a query option, as I started looking into it and I think its going to
be complicated, so I figured I would submit a follow up patch for it. There's also some design
decisions here, which I've laid out in the design doc.
File fe/src/main/java/org/apache/impala/analysis/

Line 173:    * result expressions. Those slot refs in the ordering and result exprs are substituted
> It's important to update this smap according to the new materialization you

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I5dcda32fc7770d42fc500ce87fc54d58e5b5dc00
Gerrit-PatchSet: 3
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Thomas Tauber-Marshall <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Impala Public Jenkins
Gerrit-Reviewer: Thomas Tauber-Marshall <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message