Modified TPCDS schema and queries to match Impala TPCDS kit

Queries were taken from https://github.com/cloudera/impala-tpcds-kit

Change-Id: Ib86606eafb8383d480af6edc62a9ac3c13b849ff
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3733
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
Tested-by: jenkins
IMPALA-548: Allow lzo index files to end with .INDEX

Change-Id: I3c136f99277ee8b7c801c1f6e88edb682cf84132
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3721
Reviewed-by: Marcel Kornacker <marcel@cloudera.com>
Tested-by: jenkins
IMPALA-1106: AnalysisException: Table does not exist, when using deeply
nested WITH clauses

This commit fixes issue IMPALA-1106 in which an analysis error is thrown
when there are deeply nested WITH clauses. There were two issues: a) the
hierarchy of analyzers was not properly constructed in the presence of
deeply nested WITH clauses and b) cloning a WITH clause was not
discarding the analysis state of the associated QueryStmts.

Change-Id: I3b40213dcbd082e90e54eaacc990850dfa5437e4
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3773
Reviewed-by: Marcel Kornacker <marcel@cloudera.com>
Tested-by: jenkins