**Describe what's wrong**

We have a nested field in a table.
The table is created using SET flatten_nested = 0.
When the server is restarted the field is no longer nested (only flattened arrays appear).

**Does it reproduce on recent release?**

version 22.2.3.1

**How to reproduce**

Create a table using:

` 
SET flatten_nested = 0            
` 
` 
CREATE TABLE test.test    
    (     
        id String,  
       nested_field Nested (nf1 String, nf2 String)  
    ) ENGINE = MergeTree ORDER BY id  
`

Recover the table structure using describe:
`
describe test.test
`
`
name           type
id             String
nested_field   Nested(nf1 String, nf2 String) 
`

Restart click-house server.

Recover the table structure using describe:
`
 name               type            
 id                 String                                                                                          
 nested_field.nf1   Array(String)                                                                                   
 nested_field.nf2   Array(String)                                                                                   
`

*Expected behavior**

Recover the initial structure of the table not he flatenned one.


throw Exception(ErrorCodes::INCORRECT_QUERY,
                "Cannot ATTACH TABLE {}.{}, it is a Dictionary",
                backQuoteIfNeed(database_name), backQuoteIfNeed(create.getTable()));
        if (create.is_dictionary && !create_query.is_dictionary)
            throw Exception(ErrorCodes::INCORRECT_QUERY,
                "Cannot ATTACH DICTIONARY {}.{}, it is a Table",
                backQuoteIfNeed(database_name), backQuoteIfNeed(create.getTable()));
        create = create_query; 
        create.attach = true;
        create.attach_short_syntax = true;
        create.if_not_exists = if_not_exists;
    }
    
    if (create.attach_from_path)
    {
        fs::path user_files = fs::path(getContext()->getUserFilesPath()).lexically_normal();
        fs::path root_path = fs::path(getContext()->getPath()).lexically_normal();
        if (getContext()->getClientInfo().query_kind == ClientInfo::QueryKind::INITIAL_QUERY)
        {
            fs::path data_path = fs::path(*create.attach_from_path).lexically_normal();
            if (data_path.is_relative())
                data_path = (user_files / data_path).lexically_normal();
            if (!startsWith(data_path, user_files))
                throw Exception(ErrorCodes::PATH_ACCESS_DENIED,
                                "Data directory {} must be inside {} to attach it", String(data_path), String(user_files));
            
            create.attach_from_path = fs::relative(data_path, root_path) / "";
        }
        else
        {