private void compareToUDFUnixTimeStampLong(Timestamp ts, long y) {
    TimestampTZ tsTZ = TimestampTZUtil.convert(
        org.apache.hadoop.hive.common.type.Timestamp.ofEpochMilli(ts.getTime()),
        ZoneId.systemDefault());
    if(tsTZ.getEpochSecond() != y) {
      System.out.printf("%d vs %d for %s\n", tsTZ.getEpochSecond(), y, ts.toString());
      Assert.assertTrue(false);
    }
  }
Input array is used to fill the entire size of the vector row batch
ql/src/test/org/apache/hadoop/hive/ql/exec/vector/expressions/TestVectorTimestampExpressions.java