private static void formatDate(StringBuilder buf, int date) {
    julianToString(buf, date + EPOCH_JULIAN);
  }
Helper for CAST({date} AS VARCHAR(n)).
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/util/DateTimeUtils.java