@Override protected void func(BytesColumnVector outV, long[] vector, int i) {
    super.sqlFormat(outV, vector, i, sqlFormatter);
  }
Vectorized UDF for CAST (&lt;DATE&gt; TO VARCHAR(&lt;LENGTH&gt;) WITH FORMAT &lt;STRING&gt;).
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/CastDateToVarCharWithFormat.java