PREHOOK: query: -- where clause select l_orderkey, l_shipdate, l_receiptdate from lineitem where (cast(l_shipdate as date) - date '1992-01-01') < interval '365 0:0:0' day to second order by l_orderkey PREHOOK: type: QUERY PREHOOK: Input: default@lineitem #### A masked pattern was here #### POSTHOOK: query: -- where clause select l_orderkey, l_shipdate, l_receiptdate from lineitem where (cast(l_shipdate as date) - date '1992-01-01') < interval '365 0:0:0' day to second order by l_orderkey POSTHOOK: type: QUERY POSTHOOK: Input: default@lineitem #### A masked pattern was here #### 6 1992-04-27 1992-05-02 37 1992-07-10 1992-08-02 37 1992-07-02 1992-07-28 37 1992-07-21 1992-08-15 PREHOOK: query: select l_orderkey, l_shipdate, l_receiptdate from lineitem where (cast(l_shipdate as date) + interval '1-0' year to month) <= date '1994-01-01' order by l_orderkey PREHOOK: type: QUERY PREHOOK: Input: default@lineitem #### A masked pattern was here #### POSTHOOK: query: select l_orderkey, l_shipdate, l_receiptdate from lineitem where (cast(l_shipdate as date) + interval '1-0' year to month) <= date '1994-01-01' order by l_orderkey POSTHOOK: type: QUERY POSTHOOK: Input: default@lineitem #### A masked pattern was here #### 6 1992-04-27 1992-05-02 37 1992-07-10 1992-08-02 37 1992-07-02 1992-07-28 37 1992-07-21 1992-08-15 PREHOOK: query: select l_orderkey, l_shipdate, l_receiptdate from lineitem where (cast(l_shipdate as date) + interval '1-0' year to month) <= date '1994-01-01' and (cast(l_receiptdate as date) - cast(l_shipdate as date)) < interval '10' day order by l_orderkey PREHOOK: type: QUERY PREHOOK: Input: default@lineitem #### A masked pattern was here #### POSTHOOK: query: select l_orderkey, l_shipdate, l_receiptdate from lineitem where (cast(l_shipdate as date) + interval '1-0' year to month) <= date '1994-01-01' and (cast(l_receiptdate as date) - cast(l_shipdate as date)) < interval '10' day order by l_orderkey POSTHOOK: type: QUERY POSTHOOK: Input: default@lineitem #### A masked pattern was here #### 6 1992-04-27 1992-05-02 PREHOOK: query: -- joins select a.l_orderkey, b.l_orderkey, a.interval1 from ( select l_orderkey, l_shipdate, l_receiptdate, (cast(l_receiptdate as date) - cast(l_shipdate as date)) as interval1 from lineitem ) a join ( select l_orderkey, l_shipdate, l_receiptdate, (cast(l_receiptdate as date) - date '1992-07-02') as interval2 from lineitem ) b on a.interval1 = b.interval2 and a.l_orderkey = b.l_orderkey order by a.l_orderkey PREHOOK: type: QUERY PREHOOK: Input: default@lineitem #### A masked pattern was here #### POSTHOOK: query: -- joins select a.l_orderkey, b.l_orderkey, a.interval1 from ( select l_orderkey, l_shipdate, l_receiptdate, (cast(l_receiptdate as date) - cast(l_shipdate as date)) as interval1 from lineitem ) a join ( select l_orderkey, l_shipdate, l_receiptdate, (cast(l_receiptdate as date) - date '1992-07-02') as interval2 from lineitem ) b on a.interval1 = b.interval2 and a.l_orderkey = b.l_orderkey order by a.l_orderkey POSTHOOK: type: QUERY POSTHOOK: Input: default@lineitem #### A masked pattern was here #### 37 37 26 00:00:00.000000000