@Override
    public ResultSet getCatalogs() throws SQLException {
        try {
            return connection.createStatement().executeQuery("SELECT 'local' AS TABLE_CAT "  + (useCatalogs ? "" : " WHERE 1 = 0"));
        } catch (Exception e) {
            throw ExceptionUtils.toSqlState(e);
        }
    }
The closes term to catalog in ClickHouse is "cluster".
Current implementation version doesn't support work with cluster and will always return
@return - ResultSet with one column TABLE_CAT and one row with value "local"
@throws SQLException - if an error occurs
jdbc-v2/src/main/java/com/clickhouse/jdbc/metadata/DatabaseMetaDataImpl.java