Fix bug: Allow partitioning spec for functions that do not support windowing
remove dependency on SemanticAnalyzer in PTFTranslator.
So runtime hive metastore jar is not needed.
Merge branch 'ptf' into functions