HIVE-4197

Summary: Bring implementation in conformance with standard

Test Plan: Existing testcases have been updated to match standards.

Reviewers: hbutani

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

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