Fix redundant eval and hash on HashTable::Insert. Fixed HT build timer.

Change-Id: I855f714e2545aa7a77284996d54dcd743e52f974
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4263
Tested-by: jenkins
Reviewed-by: Nong Li <nong@cloudera.com>
Handle analytic functions in subqueries

With this commit we add proper checks to examine if a subquery
containing an analytic function is eligible for rewrite by transforming
it into a join.

Change-Id: Icf87c3040cf83ca0676d292ce81ea2c3e03cf7b3
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4277
Reviewed-by: Dimitris Tsirogiannis <dtsirogiannis@cloudera.com>
Tested-by: jenkins
IMPALA-1220: NPE in AnalyticWindow during cloning and thrift serialization

Change-Id: Id2d7aa1542a186da941b8c0b723ff5698243f5cd
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4278
Reviewed-by: Marcel Kornacker <marcel@cloudera.com>
Tested-by: jenkins
Codegen PartitionedHashJoinNode

This also reverts back to using CRC hash since FNV is not codegen'd
yet. The perf is not as good as the original HJ in a microbenchmark; I
haven't run a cluster run yet.

Change-Id: Ie4dc983f31631fbc78720425a0e354dd1d3342a6
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4219
Reviewed-by: Skye Wanderman-Milne <skye@cloudera.com>
Tested-by: jenkins
IMPALA-1186: Use verbose explain level in the query profile.

The fix for IMPALA-921 had broken our existing behavior because it set
a default value for the explain_level query option in the .thrift file.
This patch now forces a verbose explain level in the query profile for
all non-explain statements.

Change-Id: I7b0f6a73ab85bdcd8b70f08115f5b2c4238e5993
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4236
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins