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