@Override
  public void init(ByteArrayRef bytes, int start, int length) {
    String s = null;
    if (!LazyUtils.isDateMaybe(bytes.getData(), start, length)) {
      isNull = true;
      return;
    }
    try {
      s = Text.decode(bytes.getData(), start, length);
      data.set(Date.valueOf(s));
      isNull = false;
    } catch (Exception e) {
      isNull = true;
      logExceptionMessage(bytes, start, length, "DATE");
    }
  }
Initializes LazyDate object by interpreting the input bytes as a SQL date string.

@param bytes
@param start
@param length
serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyDate.java