IMPALA-798: Distributed execution of CTAS and explain CTAS.

Change-Id: I32004a4b31c54cf5c185169fece143a61213d12d
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1850
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins
IMPALA-869: Fix result initialization for MIN().

Change-Id: I50eceb04c0eb1c9eedb9c963cb75d2fc5aeb4825
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1853
Reviewed-by: Nong Li <nong@cloudera.com>
Tested-by: jenkins
Reduce amount of memory that can accumulate in a row batch.

This reduces memory usage noticeably for selective queries and should
have no perf penalty. The rows should have be very big (100kbs) before
this might matter.

Change-Id: I58c3feb4ffc1c4c99724c211428e53fca8bc96d8
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1854
Reviewed-by: Nong Li <nong@cloudera.com>
Tested-by: jenkins