private boolean isTextToken(String candidate) {
    return candidate.startsWith("\"");
  }
Parse pattern to list of tokens.
common/src/java/org/apache/hadoop/hive/common/format/datetime/HiveSqlDateTimeFormatter.java