private void validateHistoricalTable()

in src/main/java/com/epam/digital/data/platform/history/repository/HistoryDataRepository.java [77:87]


  private void validateHistoricalTable(String historicalTableName, String searchColumnName) {
    var historicalTable = getTable(historicalTableName);
    historicalTable
        .lookupColumn(searchColumnName)
        .orElseThrow(
            () ->
                new IllegalArgumentException(
                    String.format(
                        "No such column %s in historical table %s",
                        historicalTable, searchColumnName)));
  }