Parsing and analysis of analytic functions.

Change-Id: I400c30714938fc82891715b34631244e015e753d
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3734
Reviewed-by: Marcel Kornacker <marcel@cloudera.com>
Tested-by: jenkins
IMPALA-677: Fix visibility of semi and anti-joined table references.

Semi or anti-joined table references are now only visible inside the
On-clause of the corresponding join.

Change-Id: Id93e53ecdf2a74baf9736aa427fa7af15358ca27
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3789
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins
Fix copy-test-data script to download raw data files using wget rather than scp

Change-Id: I86ce0aec8cbd681a9ec4f56eff8841cadd513ef9
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3861
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
Tested-by: jenkins