PREHOOK: query: -- Test timestamp-to-numeric comparison select count(*) FROM alltypesorc WHERE ((ctinyint != 0) AND (((ctimestamp1 <= 0) OR ((ctinyint = cint) OR (cstring2 LIKE 'ss'))) AND ((988888 < cdouble) OR ((ctimestamp2 > -29071) AND (3569 >= cdouble))))) PREHOOK: type: QUERY PREHOOK: Input: default@alltypesorc #### A masked pattern was here #### POSTHOOK: query: -- Test timestamp-to-numeric comparison select count(*) FROM alltypesorc WHERE ((ctinyint != 0) AND (((ctimestamp1 <= 0) OR ((ctinyint = cint) OR (cstring2 LIKE 'ss'))) AND ((988888 < cdouble) OR ((ctimestamp2 > -29071) AND (3569 >= cdouble))))) POSTHOOK: type: QUERY POSTHOOK: Input: default@alltypesorc #### A masked pattern was here #### 1826 PREHOOK: query: -- Should have same result as previous query select count(*) FROM alltypesorc WHERE ((ctinyint != 0) AND (((ctimestamp1 <= timestamp('1969-12-31 16:00:00')) OR ((ctinyint = cint) OR (cstring2 LIKE 'ss'))) AND ((988888 < cdouble) OR ((ctimestamp2 > timestamp('1969-12-31 07:55:29')) AND (3569 >= cdouble))))) PREHOOK: type: QUERY PREHOOK: Input: default@alltypesorc #### A masked pattern was here #### POSTHOOK: query: -- Should have same result as previous query select count(*) FROM alltypesorc WHERE ((ctinyint != 0) AND (((ctimestamp1 <= timestamp('1969-12-31 16:00:00')) OR ((ctinyint = cint) OR (cstring2 LIKE 'ss'))) AND ((988888 < cdouble) OR ((ctimestamp2 > timestamp('1969-12-31 07:55:29')) AND (3569 >= cdouble))))) POSTHOOK: type: QUERY POSTHOOK: Input: default@alltypesorc #### A masked pattern was here #### 1826