public static void main(String[] args) throws HiveException {
    TestVectorTimestampExpressions self = new TestVectorTimestampExpressions();
    self.testVectorUDFYearTimestamp();
    self.testVectorUDFMonthTimestamp();
    self.testVectorUDFDayOfMonthTimestamp();
    self.testVectorUDFHourTimestamp();
    self.testVectorUDFWeekOfYearTimestamp();
    self.testVectorUDFUnixTimeStampTimestamp();

    self.testVectorUDFYearString();
    self.testVectorUDFMonthString();
    self.testVectorUDFDayOfMonthString();
    self.testVectorUDFHourString();
    self.testVectorUDFWeekOfYearString();
    self.testVectorUDFUnixTimeStampString();
   }
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