docs: static FieldAlias alias(Settings settings) {
          Map<String, String> aliasMap = SettingsUtils.aliases(settings.getProperty(HiveConstants.MAPPING_NAMES), true);
  
          // add default aliases for serialization (_colX -> mapping name)
          Map<String, String> columnMap = columnMap(settings);
  
          for (Entry<String, String> entry : columnMap.entrySet()) {
              String columnName = entry.getKey();
              String columnIndex = entry.getValue();
  
              if (!aliasMap.isEmpty()) {
                  String alias = aliasMap.get(columnName);
                  if (alias != null) {
                      columnName = alias;
                  }
              }
  
              aliasMap.put(columnIndex, columnName);
          }
  
          return new FieldAlias(aliasMap, true);
      }