HIVE-4180

Summary: Filter getting pushed above PTF Operator when it should not.

Test Plan: Added new test which demonstrates the problem.

Reviewers: hbutani

Differential Revision: https://reviews.facebook.net/D9435

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/ptf-windowing@1459379 13f79535-47bb-0310-9956-ffa450edef68
HIVE-4180

Summary: Filter getting pushed above PTF Operator when it should not.

Test Plan: Added new test which demonstrates the problem.

Reviewers: hbutani

Differential Revision: https://reviews.facebook.net/D9435

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/ptf-windowing@1459891 13f79535-47bb-0310-9956-ffa450edef68
Merge remote-tracking branch 'hive/ptf-windowing' into ptf