code: private static String generateDestinationToHiveColumnMapping(
        Optional<Map<String, String>> hiveColumns,
        Table destinationTableMeta) {
      StringBuilder columns = new StringBuilder();
      boolean isFirst = true;
      List<FieldSchema> fieldList = destinationTableMeta.getSd().getCols();
      for (FieldSchema field : fieldList) {
        if (isFirst) {
          isFirst = false;
        } else {
          columns.append(", \n");
        }
        String name = field.getName();
        String type = escapeHiveType(field.getType());
        String comment = field.getComment();
        if (hiveColumns.isPresent()) {
          hiveColumns.get().put(name, type);
        }
        columns.append(String.format("  `%s` %s COMMENT '%s'", name, type, escapeStringForHive(comment)));
      }
  
      return columns.toString();
    }
docs: *
  Use destination table schema to generate column mapping
  @param hiveColumns Optional Map to populate with the generated hive columns for reference of caller
  @param destinationTableMeta destination table metadata
  @return Generate Hive columns with types for given Avro schema